JAL-1191 configure full SO for desktop, SOLite for applet (without
[jalview.git] / src / jalview / io / gff / SequenceOntologyFactory.java
index acf90e7..2053b86 100644 (file)
@@ -1,14 +1,10 @@
 package jalview.io.gff;
 
-import jalview.bin.Cache;
-import jalview.ext.so.SequenceOntology;
 
 /**
- * A factory class that returns a model of the Sequence Ontology. If the user's
- * Jalview properties file has the line <br>
- * USE_SO_LITE = true <br>
- * then a hard-coded subset will be used, otherwise the full ontology (as
- * downloaded at a point in time).
+ * A factory class that returns a model of the Sequence Ontology. By default a
+ * hard-coded subset is used (for the applet, or testing), or setInstance() can
+ * be used to set full Ontology data.
  * 
  * @author gmcarstairs
  *
@@ -21,14 +17,7 @@ public class SequenceOntologyFactory
   {
     if (instance == null)
     {
-      if (Cache.getDefault("USE_SO_LITE", false))
-      {
-        instance = new SequenceOntologyLite();
-      }
-      else
-      {
-        instance = new SequenceOntology();
-      }
+      instance = new SequenceOntologyLite();
     }
     return instance;
   }