JAL-974 fix class contamination for jalviewLite build
authorJim Procter <jprocter@dundee.ac.uk>
Wed, 12 Nov 2014 14:55:45 +0000 (14:55 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Wed, 12 Nov 2014 14:55:45 +0000 (14:55 +0000)
src/jalview/structure/StructureSelectionManager.java

index 017bae9..175a249 100644 (file)
@@ -28,7 +28,7 @@ import jalview.datamodel.Annotation;
 import jalview.datamodel.PDBEntry;
 import jalview.datamodel.SearchResults;
 import jalview.datamodel.SequenceI;
-import jalview.io.FormatAdapter;
+import jalview.io.AppletFormatAdapter;
 import jalview.util.MessageManager;
 
 import java.io.PrintStream;
@@ -276,7 +276,7 @@ public class StructureSelectionManager
     {
       pdb = new MCview.PDBfile(true, parseSecStr, pdbFile, protocol);
       if (pdb.id != null && pdb.id.trim().length() > 0
-              && FormatAdapter.FILE.equals(protocol))
+              && AppletFormatAdapter.FILE.equals(protocol))
       {
         registerPDBFile(pdb.id.trim(), pdbFile);
       }