From 3ed5c0f91614bb7a3620ec3a968a54bafdbd74ad Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 30 Aug 2016 16:16:35 +0100 Subject: [PATCH] JAL-2154 simplify expression --- src/jalview/util/DBRefUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/util/DBRefUtils.java b/src/jalview/util/DBRefUtils.java index 52629ed..a1f06e5 100755 --- a/src/jalview/util/DBRefUtils.java +++ b/src/jalview/util/DBRefUtils.java @@ -534,7 +534,7 @@ public class DBRefUtils { return true; } - return (o1 == null ? o2.equals(o1) : o1.equals(o2)); + return o1.equals(o2); } /** -- 1.7.10.2