slawekjaranowski commented on code in PR #367:
URL: https://github.com/apache/maven-enforcer/pull/367#discussion_r2132574162


##########
enforcer-rules/src/main/java/org/apache/maven/enforcer/rules/utils/ArtifactMatcher.java:
##########
@@ -44,9 +44,10 @@ public final class ArtifactMatcher {
      * @author I don't know
      */
     public static class Pattern {
-        private String pattern;
+        private final String pattern;
 
-        private String[] parts;
+        private final String[] parts;
+        private final java.util.regex.Pattern[] partsRegex;

Review Comment:
   why not use import here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to