Skip to content

Commit

Permalink
Merge pull request #938 from quickfix-j/chrjohn-pruner-logging
Browse files Browse the repository at this point in the history
reduced logging in `ClassPrunerMojo`
  • Loading branch information
chrjohn authored Jan 29, 2025
2 parents 8451511 + 81608fb commit 974dc7f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void execute()
}

if (null == fileset) {
String errorMsg = "filset must not be null.";
String errorMsg = "fileset must not be null.";
this.getLog().error(errorMsg);
throw new MojoExecutionException( errorMsg );
}
Expand Down Expand Up @@ -115,7 +115,7 @@ private void prune(Set<String> fieldNames, File targetDirectory, String fileSuff
Collections.sort(fileList);
this.getLog().info(descriptor + "s to delete : " + fileList.size());
for (String fileName : fileList) {
this.getLog().info("Deleting " + descriptor + " : " + fileName);
this.getLog().debug("Deleting " + descriptor + " : " + fileName);
File file = new File( targetDirectory, fileName );
Files.delete(file.toPath());
}
Expand Down Expand Up @@ -163,7 +163,7 @@ private void collectFieldNames(Set<String> fieldNames) throws MojoExecutionExcep
List<String> fieldList = new ArrayList<String>(fieldNames);
Collections.sort(fieldList);
for (String fieldName : fieldList) {
this.getLog().info("Found field : " + fieldName);
this.getLog().debug("Found field : " + fieldName);
}
this.getLog().info("Found field total : " + fieldList.size());
}
Expand Down

0 comments on commit 974dc7f

Please # to comment.