JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / util / matcher / Matcher.java
index e43ead2..cbd5458 100644 (file)
@@ -104,7 +104,8 @@ public class Matcher implements MatcherI
       patternType = PatternType.String;
     }
 
-    uppercasePattern = pattern == null ? null : pattern.toUpperCase(Locale.ROOT);
+    uppercasePattern = pattern == null ? null
+            : pattern.toUpperCase(Locale.ROOT);
 
     // if we add regex conditions (e.g. matchesPattern), then
     // pattern should hold the raw regex, and
@@ -175,7 +176,8 @@ public class Matcher implements MatcherI
   {
     boolean matched = false;
     String upper = compareTo.toUpperCase(Locale.ROOT).trim();
-    switch(condition) {
+    switch (condition)
+    {
     case Matches:
       matched = upper.equals(uppercasePattern);
       break;
@@ -220,9 +222,10 @@ public class Matcher implements MatcherI
     {
       return false;
     }
-    
+
     boolean matched = false;
-    switch (condition) {
+    switch (condition)
+    {
     case LT:
       matched = f < compareTo;
       break;
@@ -337,9 +340,10 @@ public class Matcher implements MatcherI
        */
       return matchesFloat(compareTo, longValue);
     }
-    
+
     boolean matched = false;
-    switch (condition) {
+    switch (condition)
+    {
     case LT:
       matched = val < longValue;
       break;
@@ -361,7 +365,7 @@ public class Matcher implements MatcherI
     default:
       break;
     }
-  
+
     return matched;
   }