Skip to content

Commit

Permalink
Merge pull request #20019 from geoand/dependency-tree-polish
Browse files Browse the repository at this point in the history
Apply tiny polish to DependencyTreeMojo
  • Loading branch information
gastaldi authored Sep 9, 2021
2 parents 828e55b + 2872374 commit 4af8f36
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class DependencyTreeMojo extends AbstractMojo {

/**
* Target launch mode corresponding to {@link io.quarkus.runtime.LaunchMode} for which the dependency tree should be built.
* {@link io.quarkus.runtime.LaunchMode.PROD} is the default.
* {@code io.quarkus.runtime.LaunchMode.NORMAL} is the default.
*/
@Parameter(property = "mode", required = false, defaultValue = "prod")
String mode;
Expand All @@ -45,9 +45,8 @@ public class DependencyTreeMojo extends AbstractMojo {
@Override
public void execute() throws MojoExecutionException, MojoFailureException {

final StringBuilder buf = new StringBuilder();
buf.append("Quarkus application ").append(mode.toUpperCase()).append(" mode build dependency tree:");
getLog().info(buf.toString());
String buf = "Quarkus application " + mode.toUpperCase() + " mode build dependency tree:";
getLog().info(buf);

final AppArtifact appArtifact = new AppArtifact(project.getGroupId(), project.getArtifactId(), null, "pom",
project.getVersion());
Expand Down

0 comments on commit 4af8f36

Please sign in to comment.