JAL-1517 formatting
authorJim Procter <jprocter@dundee.ac.uk>
Fri, 28 Nov 2014 14:46:41 +0000 (14:46 +0000)
committerJim Procter <jprocter@dundee.ac.uk>
Fri, 28 Nov 2014 14:46:41 +0000 (14:46 +0000)
src/jalview/gui/BlogReader.java
src/jalview/gui/WsParamSetManager.java
src/jalview/ws/DasSequenceFeatureFetcher.java

index 0de4adf..7d4399d 100644 (file)
@@ -25,10 +25,10 @@ import jalview.util.MessageManager;
 
 import java.awt.BorderLayout;
 import java.awt.Component;
+import java.awt.Dialog.ModalExclusionType;
 import java.awt.Dimension;
 import java.awt.Font;
 import java.awt.Rectangle;
-import java.awt.Dialog.ModalExclusionType;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import java.awt.event.KeyEvent;
index 46d93b0..2db19a2 100644 (file)
  */
 package jalview.gui;
 
+import jalview.bin.Cache;
+import jalview.io.JalviewFileChooser;
+import jalview.util.MessageManager;
+import jalview.ws.params.ParamDatastoreI;
+import jalview.ws.params.ParamManager;
+import jalview.ws.params.WsParamSetI;
+
 import java.io.File;
 import java.io.FileOutputStream;
 import java.io.IOException;
@@ -33,13 +40,6 @@ import java.util.StringTokenizer;
 
 import javax.swing.JOptionPane;
 
-import jalview.bin.Cache;
-import jalview.io.JalviewFileChooser;
-import jalview.util.MessageManager;
-import jalview.ws.params.ParamDatastoreI;
-import jalview.ws.params.ParamManager;
-import jalview.ws.params.WsParamSetI;
-
 /**
  * store and retrieve web service parameter sets.
  * 
index 64181ca..a778ab1 100644 (file)
@@ -626,7 +626,9 @@ public class DasSequenceFeatureFetcher
   Object[] nextSequence(jalviewSourceI dasSource, SequenceI seq)
   {
     if (cancelled)
+    {
       return null;
+    }
     DBRefEntry[] uprefs = jalview.util.DBRefUtils.selectRefs(
             seq.getDBRef(), new String[]
             {
@@ -668,7 +670,9 @@ public class DasSequenceFeatureFetcher
             qstring.add(uprefs[j].getAccessionId());
           }
           else
+          {
             System.out.println("IGNORE " + csys.getAuthority());
+          }
         }
       }
     }
@@ -839,7 +843,7 @@ public class DasSequenceFeatureFetcher
       {
         for (String note : feat.getNOTE())
         {
-          desc += (String) note;
+          desc += note;
         }
       }