JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / ext / pymol / PymolCommands.java
index b69d3e3..49c4ec6 100644 (file)
@@ -108,18 +108,20 @@ public class PymolCommands extends StructureCommandsBase
   public List<StructureCommandI> superposeStructures(AtomSpecModel refAtoms,
           AtomSpecModel atomSpec, AtomSpecType specType)
   {
-             
+
     // https://pymolwiki.org/index.php/Super
     List<StructureCommandI> commands = new ArrayList<>();
-    String refAtomsAlphaOnly = "("+getAtomSpec(refAtoms, specType)+" and (altloc '' or altloc 'a'))";
-    String atomSpec2AlphaOnly = "("+getAtomSpec(atomSpec, specType)+" and (altloc '' or altloc 'a'))";
+    String refAtomsAlphaOnly = "(" + getAtomSpec(refAtoms, specType)
+            + " and (altloc '' or altloc 'a'))";
+    String atomSpec2AlphaOnly = "(" + getAtomSpec(atomSpec, specType)
+            + " and (altloc '' or altloc 'a'))";
     // pair_fit mobile -> reference
     // crashes when undo is enabled on 2.5.2 (incentive)
     commands.add(new StructureCommand("undo_disable"));
-    commands.add(new StructureCommand("pair_fit", 
-            atomSpec2AlphaOnly, refAtomsAlphaOnly));
+    commands.add(new StructureCommand("pair_fit", atomSpec2AlphaOnly,
+            refAtomsAlphaOnly));
     commands.add(new StructureCommand("undo_enable"));
-    
+
     /*
      * and show superposed residues as cartoon
      */