Resolved merge conflict in EdtiCommandTest.java
[jalview.git] / src / jalview / io / AppletFormatAdapter.java
index 90400f4..02de02e 100755 (executable)
@@ -205,6 +205,10 @@ public class AppletFormatAdapter
   public static final boolean isValidFormat(String format,
           boolean forwriting)
   {
+    if (format == null)
+    {
+      return false;
+    }
     boolean valid = false;
     String[] format_list = (forwriting) ? WRITEABLE_FORMATS
             : READABLE_FORMATS;