JAL-3220 j2sIgnore on main methods on test / utility classes
[jalview.git] / src / jalview / io / AppletFormatAdapter.java
index 6db04a0..4916bb3 100755 (executable)
@@ -159,7 +159,9 @@ public class AppletFormatAdapter
 
     this.selectedFile = selectedFile;
     if (selectedFile != null)
+    {
       this.inFile = selectedFile.getPath();
+    }
     this.inFile = file;
     try
     {
@@ -435,7 +437,9 @@ public class AppletFormatAdapter
   public static DataSourceType checkProtocol(Object dataObject)
   {
     if(dataObject instanceof File)
+    {
       return DataSourceType.FILE;
+    }
     
     String data = dataObject.toString();
     DataSourceType protocol = DataSourceType.PASTE;
@@ -456,6 +460,10 @@ public class AppletFormatAdapter
     return protocol;
   }
 
+  /**
+   * @param args
+   * @j2sIgnore
+   */
   public static void main(String[] args)
   {
     int i = 0;