From 502a71feb4b253fe9046f3630b19174ba6b3c68c Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 26 Sep 2019 09:52:47 +0100 Subject: [PATCH] JAL-3397 skip instanceof check for JS's benefit --- src/jalview/analysis/CrossRef.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 1.7.10.2