From: gmungoc Date: Thu, 26 Sep 2019 08:52:47 +0000 (+0100) Subject: JAL-3397 skip instanceof check for JS's benefit X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=502a71feb4b253fe9046f3630b19174ba6b3c68c;p=jalview.git JAL-3397 skip instanceof check for JS's benefit --- diff --git a/src/jalview/analysis/CrossRef.java b/src/jalview/analysis/CrossRef.java index 080f3e2..ecdd11e 100644 --- a/src/jalview/analysis/CrossRef.java +++ b/src/jalview/analysis/CrossRef.java @@ -640,8 +640,7 @@ public class CrossRef @Override public boolean equals(Object o) { - return o instanceof SequenceFeature - && equals((SequenceFeature) o, true); + return equals((SequenceFeature) o, true); } }; matched.addSequenceFeature(newFeature);