Skip to content

Commit 75ae853

Browse files
committed
Spotless
1 parent 919543c commit 75ae853

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

plugin-modernizer-core/src/main/java/io/jenkins/tools/pluginmodernizer/core/impl/PluginModernizer.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,13 +497,14 @@ private void printResults(List<Plugin> plugins) {
497497
plugin.getName(),
498498
plugin.getMetadata().getLocation().toAbsolutePath());
499499
} else if (config.isDryRun()) {
500-
LOG.info("Dry run mode. Changes were made on " + plugin.getLocalRepository() + " but not committed");
500+
LOG.info(
501+
"Dry run mode. Changes were made on " + plugin.getLocalRepository() + " but not committed");
501502
printModifiedFiles(plugin);
502503
} else if (plugin.isLocal()) {
503504
LOG.info("Changes were made on " + plugin.getLocalRepository());
504505
printModifiedFiles(plugin);
505506
} else if (!plugin.hasErrors()) {
506-
//Changes were made
507+
// Changes were made
507508
LOG.info("Pull request was open on "
508509
+ plugin.getRemoteRepository(this.ghService).getHtmlUrl());
509510
printModifiedFiles(plugin);

plugin-modernizer-core/src/test/java/io/jenkins/tools/pluginmodernizer/core/recipes/DeclarativeRecipesTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2880,7 +2880,8 @@ void replaceLibrariesByApiPluginsAsm() {
28802880
</pluginRepository>
28812881
</pluginRepositories>
28822882
</project>
2883-
""".formatted(Settings.getPluginVersion("asm-api"))));
2883+
"""
2884+
.formatted(Settings.getPluginVersion("asm-api"))));
28842885
}
28852886

28862887
@Test

0 commit comments

Comments
 (0)