JAL-3253-applet JAL-3397 JAL-3383 fast IntervalStore for JavaScript
[jalview.git] / src / jalview / datamodel / features / SequenceFeatures.java
index 5c6b4a7..be9c4f2 100644 (file)
@@ -66,13 +66,13 @@ public class SequenceFeatures implements SequenceFeaturesI
   /**
    * no-IntervalStore option for JavaScript
    */
-  private final static int INTERVAL_STORE_NONE_JS = -1;
+  private final static int INTERVAL_STORE_LINKED_LIST = -1;
 
   private final int INTERVAL_STORE_MODE = (
   // can be set differently for testing, but default is
-  // NONE_JS for JalviewJS and NCLIST for Java
+  // LINKED_LIST for JalviewJS and NCLIST for Java
   Platform.isJS() ? //
-          INTERVAL_STORE_NONE_JS //
+          INTERVAL_STORE_LINKED_LIST //
           : INTERVAL_STORE_NCLIST//
   );
 
@@ -134,7 +134,7 @@ public class SequenceFeatures implements SequenceFeaturesI
       return new FeatureStoreImpl(true);
     case INTERVAL_STORE_NOCLKIST:
       return new FeatureStoreImpl(false);
-    case INTERVAL_STORE_NONE_JS:
+    case INTERVAL_STORE_LINKED_LIST:
       return new FeatureStoreJS();
     }
   }