You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2026/01/05 12:30:01 UTC
(maven-checkstyle-plugin) branch exc created (now c961614)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a change to branch exc
in repository https://gitbox.apache.org/repos/asf/maven-checkstyle-plugin.git
at c961614 Remove moot code
This branch includes the following new commits:
new c961614 Remove moot code
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-checkstyle-plugin) 01/01: Remove moot code
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch exc
in repository https://gitbox.apache.org/repos/asf/maven-checkstyle-plugin.git
commit c961614777a8d423d0e30c706437dc58ddc2ce80
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Jan 5 07:29:49 2026 -0500
Remove moot code
---
.../checkstyle/exec/DefaultCheckstyleExecutor.java | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/src/main/java/org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java b/src/main/java/org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java
index bd30668..397e516 100644
--- a/src/main/java/org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java
+++ b/src/main/java/org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java
@@ -436,21 +436,6 @@ public class DefaultCheckstyleExecutor implements CheckstyleExecutor {
}
private List<File> getFilesToProcess(CheckstyleExecutorRequest request) throws IOException {
- StringBuilder excludesStr = new StringBuilder();
-
- if (StringUtils.isNotEmpty(request.getExcludes())) {
- excludesStr.append(request.getExcludes());
- }
-
- String[] defaultExcludes = FileUtils.getDefaultExcludes();
- for (String defaultExclude : defaultExcludes) {
- if (excludesStr.length() > 0) {
- excludesStr.append(",");
- }
-
- excludesStr.append(defaultExclude);
- }
-
Set<File> files = new LinkedHashSet<>();
if (request.isAggregate()) {
for (MavenProject project : request.getReactorProjects()) {