JAL-3397 impl.IntervalStore and nonc.IntervalStore unified api
[jalview.git] / src / jalview / datamodel / SequenceFeature.java
index 30e0929..bf0b996 100755 (executable)
@@ -35,8 +35,6 @@ import java.util.SortedMap;
 import java.util.TreeMap;
 import java.util.Vector;
 
-import intervalstore.api.IntervalI;
-
 /**
  * A class that models a single contiguous feature on a sequence. If flag
  * 'contactFeature' is true, the start and end positions are interpreted instead
@@ -220,19 +218,10 @@ public class SequenceFeature implements FeatureLocationI
   public boolean equals(Object o)
   {
     return (o != null && (o instanceof SequenceFeature)
-            && equalsInterval((SequenceFeature) o));
+            && equals(((SequenceFeature) o), false));
   }
 
   /**
-   * Having determined that this is in fact a SequenceFeature, now check it for
-   * equivalence. Overridden in CrossRef; used by IntervalStore (possibly).
-   */
-  @Override
-  public boolean equalsInterval(IntervalI sf)
-  {
-    return sf != null && equals((SequenceFeature) sf, false);
-  }
-  /**
    * Overloaded method allows the equality test to optionally ignore the
    * 'Parent' attribute of a feature. This supports avoiding adding many
    * superficially duplicate 'exon' or CDS features to genomic or protein