Fix checkstyle violations

This commit is contained in:
Phillip Webb
2018-05-26 00:01:45 -07:00
parent 3702da4573
commit 68ffbafbae
4 changed files with 6 additions and 6 deletions

View File

@@ -345,8 +345,8 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
this.classifier, target);
}
else {
String artifactId = this.classifier != null
? "artifact with classifier " + this.classifier : "main artifact";
String artifactId = (this.classifier != null
? "artifact with classifier " + this.classifier : "main artifact");
getLog().info(String.format("Replacing %s %s", artifactId, source.getFile()));
source.setFile(target);
}