apply jalview code style
[jalview.git] / src / jalview / gui / Jalview2XML.java
index b28ed0e..a93e84c 100755 (executable)
@@ -2696,16 +2696,18 @@ public class Jalview2XML
                 {
                   public void run()
                   {
-                    AppJmol sview=null;
-                    try {
-                      sview=new AppJmol(pdbf, id, sq, alf.alignPanel, fileloc,
-                    
-                            rect, vid);
-                    }
-                    catch (OutOfMemoryError ex)
+                    AppJmol sview = null;
+                    try
+                    {
+                      sview = new AppJmol(pdbf, id, sq, alf.alignPanel,
+                              fileloc,
+
+                              rect, vid);
+                    } catch (OutOfMemoryError ex)
                     {
-                      new OOMWarning("restoring structure view for PDB id "+id,(OutOfMemoryError) ex.getCause());
-                      if (sview!=null && sview.isVisible())
+                      new OOMWarning("restoring structure view for PDB id "
+                              + id, (OutOfMemoryError) ex.getCause());
+                      if (sview != null && sview.isVisible())
                       {
                         sview.closeViewer();
                         sview.setVisible(false);
@@ -2716,8 +2718,8 @@ public class Jalview2XML
                 });
               } catch (InvocationTargetException ex)
               {
-                warn("Unexpected error when opening Jmol view.",ex);
-                
+                warn("Unexpected error when opening Jmol view.", ex);
+
               } catch (InterruptedException e)
               {
                 // e.printStackTrace();