JAL-2481 remove code duplication left by merge
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 26 Sep 2019 14:42:09 +0000 (15:42 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 26 Sep 2019 14:42:09 +0000 (15:42 +0100)
src/jalview/datamodel/Sequence.java

index 247f5e5..026061b 100755 (executable)
@@ -1885,15 +1885,6 @@ public class Sequence extends ASequence implements SequenceI
 
     List<SequenceFeature> result = getFeatures().findFeatures(startPos,
             endPos, types);
-    if (datasetSequence != null)
-    {
-      result = datasetSequence.getFeatures().findFeatures(startPos, endPos,
-              types);
-    }
-    else
-    {
-      result = sequenceFeatureStore.findFeatures(startPos, endPos, types);
-    }
 
     /*
      * if end column is gapped, endPos may be to the right,