Skip to content

Commit 4d9368f

Browse files
authored
Update CheckstyleValidator.java
1 parent 123d2c3 commit 4d9368f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qulice-checkstyle/src/main/java/com/qulice/checkstyle/CheckstyleValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public List<File> getNonExcludedFiles(final Collection<File> files) {
107107
if (this.env.exclude("checkstyle", name)) {
108108
continue;
109109
}
110-
if (!name.matches("^.*\\.java$")) {
110+
if (!name.toLowerCase().endsWith(".java")) {
111111
continue;
112112
}
113113
relevant.add(file);

0 commit comments

Comments
 (0)