Skip to content

Commit

Permalink
Fix spotbugs warning about \n vs %n.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed May 10, 2022
1 parent 424e42a commit 628c5fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ private static Provisioner forConfigurationContainer(Project project, Configurat
projName = projName + "/";
}
throw new GradleException(String.format(
"You need to add a repository containing the '%s' artifact in '%sbuild.gradle'.\n" +
"You need to add a repository containing the '%s' artifact in '%sbuild.gradle'.%n" +
"E.g.: 'repositories { mavenCentral() }'",
mavenCoords, projName), e);
}
Expand Down

0 comments on commit 628c5fc

Please sign in to comment.