JAL-4090 JAL-1551 spotlessApply
[jalview.git] / src / jalview / ext / jmol / JmolCommands.java
index 1fb8761..7c024ba 100644 (file)
@@ -241,7 +241,8 @@ public class JmolCommands extends StructureCommandsBase
     /*
      * https://chemapps.stolaf.edu/jmol/docs/#writemodel
      */
-    StructureCommand sc = new StructureCommand("write STATE \"" + filepath + "\"");
+    StructureCommand sc = new StructureCommand(
+            "write STATE \"" + filepath + "\"");
     sc.setWaitNeeded(true);
     return sc;
   }
@@ -318,21 +319,22 @@ public class JmolCommands extends StructureCommandsBase
     return new StructureCommand(
             "load FILES \"" + Platform.escapeBackslashes(file) + "\"");
   }
+
   @Override
   public StructureCommandI restoreSession(String filePath)
   {
-    return new StructureCommand(
-            "restore STATE \"" + Platform.escapeBackslashes(filePath) + "\"");
+    return new StructureCommand("restore STATE \""
+            + Platform.escapeBackslashes(filePath) + "\"");
   }
 
   @Override
   public List<StructureCommandI> showHetatms(List<String> toShow)
   {
     // always clear the current hetero cpk display
-    
+
     StringBuilder sb = new StringBuilder();
     sb.append("select hetero; cpk off;");
-    
+
     if (toShow != null && !toShow.isEmpty())
     {
       // select what was requested
@@ -347,9 +349,10 @@ public class JmolCommands extends StructureCommandsBase
       // and show as
       sb.append("; cpk;");
     }
-    
+
     return Arrays.asList(new StructureCommand(sb.toString()));
   }
+
   /**
    * Obsolete method, only referenced from
    * jalview.javascript.MouseOverStructureListener