Cleanup checkstyle warnings and turn enforcement on in yang-data-impl
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / codec / CompiledPatternContext.java
index 6e9012229510ddedbb6e41295b844d8ce2b7319b..d6f5505e51cba3d2f430ec3c8d84914c2928d52e 100644 (file)
@@ -27,8 +27,7 @@ class CompiledPatternContext {
         }
     }
 
-    public void validate(final String s) {
-        Preconditions.checkArgument(pattern.matcher(s).matches(), errorMessage, s);
+    public void validate(final String str) {
+        Preconditions.checkArgument(pattern.matcher(str).matches(), errorMessage, str);
     }
-
 }
\ No newline at end of file