Skip to content

Commit

Permalink
Include space after commas, and don't add trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
keeganwitt authored Dec 5, 2020
1 parent a3fac7a commit 1236b9e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,11 @@ public abstract class AbstractGroovyMojo extends AbstractMojo {
protected void logPluginClasspath() {
if (getLog().isDebugEnabled()) {
StringBuilder sb = new StringBuilder();
for (Artifact artifact : pluginArtifacts) {
sb.append(artifact.getFile());
sb.append(", ");
for (int i = 0; i < pluginArtifacts.size(); i++) {
sb.append(pluginArtifacts.get(i).getFile());
if (i < pluginArtifacts.size() - 1) {
sb.append(", ");
}
}
getLog().debug("Plugin classpath:\n" + sb.toString());
}
Expand Down

0 comments on commit 1236b9e

Please sign in to comment.