JAL-3451 JalviewJS embedded mode not resizing
[jalview.git] / src / jalview / gui / VamsasApplication.java
index 2053fb2..ef814d3 100644 (file)
@@ -761,10 +761,10 @@ public class VamsasApplication implements SelectionSource, VamsasSource
       }
       try
       {
-        final IPickManager pm = vclient.getPickManager();
-        final StructureSelectionManager ssm = StructureSelectionManager
-                .getStructureSelectionManager(Desktop.getInstance());
-        final VamsasApplication me = this;
+        IPickManager pm = vclient.getPickManager();
+        StructureSelectionManager ssm = Desktop
+                .getStructureSelectionManager();
+        VamsasApplication me = this;
         pm.registerMessageHandler(new IMessageHandler()
         {
           String last = null;
@@ -830,7 +830,6 @@ public class VamsasApplication implements SelectionSource, VamsasSource
                 {
                   type = jvobjs[o].getClass();
                 }
-                ;
                 if (type != jvobjs[o].getClass())
                 {
                   send = false;
@@ -954,7 +953,6 @@ public class VamsasApplication implements SelectionSource, VamsasSource
               {
                 jvobjs[c] = null;
               }
-              ;
               jvobjs = null;
               return;
             }