JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / com / stevesoft / pat / RegOpt.java
index d5f62de..bb1b115 100755 (executable)
@@ -21,8 +21,9 @@ class FastChar extends oneChar
 
   public int matchInternal(int p, Pthings pt)
   {
-    return (p < pt.src.length() && pt.src.charAt(p) == c) ? nextMatch(
-            p + 1, pt) : -1;
+    return (p < pt.src.length() && pt.src.charAt(p) == c)
+            ? nextMatch(p + 1, pt)
+            : -1;
   }
 
   Pattern clone1(Hashtable h)
@@ -317,9 +318,8 @@ public class RegOpt
         Pattern pp = (Pattern) v.elementAt(i);
         // We want to have at least two oneChar's in
         // the Or Object to consider making a Branch.
-        if (pp instanceof oneChar
-                && (b.h.size() >= 1 || (i + 1 < v.size() && v
-                        .elementAt(i + 1) instanceof oneChar)))
+        if (pp instanceof oneChar && (b.h.size() >= 1 || (i + 1 < v.size()
+                && v.elementAt(i + 1) instanceof oneChar)))
         {
           b.addc((oneChar) pp, ignoreCase, dontMinQ);
         }