JAL-2154 simplify expression
authorJim Procter <jprocter@issues.jalview.org>
Tue, 30 Aug 2016 15:16:35 +0000 (16:16 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 30 Aug 2016 15:16:35 +0000 (16:16 +0100)
src/jalview/util/DBRefUtils.java

index 52629ed..a1f06e5 100755 (executable)
@@ -534,7 +534,7 @@ public class DBRefUtils
     {
       return true;
     }
-    return (o1 == null ? o2.equals(o1) : o1.equals(o2));
+    return o1.equals(o2);
   }
 
   /**