JAL-1645 source formatting and organise imports
[jalview.git] / test / jalview / ext / jmol / JmolViewerTest.java
index aa127cf..3df2da9 100644 (file)
@@ -25,8 +25,7 @@ public class JmolViewerTest
   @BeforeClass(alwaysRun = true)
   public static void setUpBeforeClass() throws Exception
   {
-    jalview.bin.Jalview.main(new String[]
- {
+    jalview.bin.Jalview.main(new String[] {
         "-noquestionnaire -nonews -props",
         "test/jalview/ext/rbvi/chimera/testProps.jvprops" });
   }
@@ -40,7 +39,7 @@ public class JmolViewerTest
     jalview.gui.Desktop.instance.closeAll_actionPerformed(null);
   }
 
-  @Test(groups ={ "Functional" })
+  @Test(groups = { "Functional" })
   public void testSingleSeqViewJMol()
   {
     Cache.setProperty(Preferences.STRUCTURE_DISPLAY, ViewerType.JMOL.name());
@@ -55,7 +54,8 @@ public class JmolViewerTest
       {
         dsq = dsq.getDatasetSequence();
       }
-      if (dsq.getAllPDBEntries() != null && dsq.getAllPDBEntries().size() > 0)
+      if (dsq.getAllPDBEntries() != null
+              && dsq.getAllPDBEntries().size() > 0)
       {
         for (int q = 0; q < dsq.getAllPDBEntries().size(); q++)
         {
@@ -64,8 +64,8 @@ public class JmolViewerTest
           structureViewer.setViewerType(ViewerType.JMOL);
           JalviewStructureDisplayI jmolViewer = structureViewer
                   .viewStructures(dsq.getAllPDBEntries().elementAt(q),
-                          new SequenceI[]
-                  { sq }, af.getCurrentView().getAlignPanel());
+                          new SequenceI[] { sq }, af.getCurrentView()
+                                  .getAlignPanel());
           /*
            * Wait for viewer load thread to complete
            */