Skip to content

Commit 628c5fc

Browse files
committed
Fix spotbugs warning about \n vs %n.
1 parent 424e42a commit 628c5fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-gradle/src/main/java/com/diffplug/gradle/spotless/GradleProvisioner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private static Provisioner forConfigurationContainer(Project project, Configurat
128128
projName = projName + "/";
129129
}
130130
throw new GradleException(String.format(
131-
"You need to add a repository containing the '%s' artifact in '%sbuild.gradle'.\n" +
131+
"You need to add a repository containing the '%s' artifact in '%sbuild.gradle'.%n" +
132132
"E.g.: 'repositories { mavenCentral() }'",
133133
mavenCoords, projName), e);
134134
}

0 commit comments

Comments
 (0)