Skip to content

Commit 78fa159

Browse files
authored
Merge pull request #1338 from DeHopen/fix_file_filtering_logic
File Filtering Logic
2 parents bf279d5 + e8efef0 commit 78fa159

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(java.util.Locale.ROOT).endsWith(".java")) {
111111
continue;
112112
}
113113
relevant.add(file);

0 commit comments

Comments
 (0)