this was supposed to go on a separate branch. Didn't know I had to be
[jalview.git] / src / jalview / io / IdentifyFile.java
index 384797e..b312474 100755 (executable)
@@ -165,8 +165,8 @@ public class IdentifyFile
           if (source.inFile != null)
           {
             String fileStr = source.inFile.getName();
-            if (fileStr.contains(".jar") || fileStr.contains(".zip")
-                    || fileStr.contains(".jvp"))
+            if (fileStr.contains(".jar")
+                    || fileStr.contains(".zip") || fileStr.contains(".jvp"))
             {
               // possibly a Jalview archive (but check further)
               reply = FileFormat.Jalview;
@@ -319,11 +319,6 @@ public class IdentifyFile
         if ((lessThan > -1)) // possible Markup Language data i.e HTML,
                              // RNAML, XML
         {
-          if (data.startsWith("<BSML>"))
-          {
-            reply = FileFormat.BSML;
-            break;
-          }
           String upper = data.toUpperCase();
           if (upper.substring(lessThan).startsWith("<HTML"))
           {