JAL-1517 source formatting
[jalview.git] / src / jalview / bin / Jalview.java
index b0e9333..b6d6d3f 100755 (executable)
@@ -73,11 +73,11 @@ public class Jalview
       }
     });
   }
+
   /**
    * Put protein=true for get a protein example
    */
-  private static boolean protein=false;
-
+  private static boolean protein = false;
 
   /**
    * main class for Jalview application
@@ -140,10 +140,11 @@ public class Jalview
                       + "\n~Read documentation in Application or visit http://www.jalview.org for description of Features and Annotations file~\n\n");
       System.exit(0);
     }
-    if (aparser.contains("nodisplay") || aparser.contains("nogui") || aparser.contains("headless"))
+    if (aparser.contains("nodisplay") || aparser.contains("nogui")
+            || aparser.contains("headless"))
     {
       System.setProperty("java.awt.headless", "true");
-      headless=true;
+      headless = true;
     }
     Cache.loadProperties(aparser.getValue("props")); // must do this before
     // anything else!
@@ -169,7 +170,8 @@ public class Jalview
     {
       headless = true;
     }
-    System.setProperty("http.agent", "Jalview Desktop/"+Cache.getDefault("VERSION", "Unknown"));
+    System.setProperty("http.agent",
+            "Jalview Desktop/" + Cache.getDefault("VERSION", "Unknown"));
     try
     {
       Cache.initLogger();
@@ -528,15 +530,10 @@ public class Jalview
     // We'll only open the default file if the desktop is visible.
     // And the user
     // ////////////////////
-  
-
-    
-    
 
-    
     if (!headless && file == null && vamsasImport == null
-            && jalview.bin.Cache.getDefault("SHOW_STARTUP_FILE", true) && protein == true)
+            && jalview.bin.Cache.getDefault("SHOW_STARTUP_FILE", true)
+            && protein == true)
     {
       file = jalview.bin.Cache.getDefault(
               "STARTUP_FILE",
@@ -609,8 +606,7 @@ public class Jalview
       desktop.setInBatchMode(false);
     }
   }
-  
-  
+
   private static void startUsageStats(final Desktop desktop)
   {
     /**
@@ -923,18 +919,21 @@ public class Jalview
  * 
  */
 
-class rnabuttonlistener  implements ActionListener{
-         public void actionPerformed(ActionEvent arg0) {
-                 System.out.println("Good idea ! ");
+class rnabuttonlistener implements ActionListener
+{
+  public void actionPerformed(ActionEvent arg0)
+  {
+    System.out.println("Good idea ! ");
 
-         }
+  }
 }
 
-class pbuttonlistener  implements ActionListener{
-         public void actionPerformed(ActionEvent arg0) {
-               
-         
-         }
+class pbuttonlistener implements ActionListener
+{
+  public void actionPerformed(ActionEvent arg0)
+  {
+
+  }
 }
 
 class ArgsParser
@@ -1075,7 +1074,5 @@ class FeatureFetcher
   {
     return queued == 0 && running == 0;
   }
-  
-  
-  
+
 };