From: Jim Procter Date: Tue, 30 Aug 2016 15:16:35 +0000 (+0100) Subject: JAL-2154 simplify expression X-Git-Tag: Release_2_10_0~47^2~4^2~29 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3ed5c0f91614bb7a3620ec3a968a54bafdbd74ad;p=jalview.git JAL-2154 simplify expression --- 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); } /**