Skip to content

Commit b37942c

Browse files
committed
ScriptLanguageIndex: reformat string concatenation
1 parent a196883 commit b37942c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/org/scijava/script/ScriptLanguageIndex.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,10 @@ private String overwriteMessage(final boolean overwrite, final String type,
173173
final String key, final ScriptLanguage proposed,
174174
final ScriptLanguage existing)
175175
{
176-
return (overwrite ? "Overwriting " : "Not overwriting ") + type + //
177-
" '" + key + "':\n\tproposed = " + proposed.getClass().getName() +
178-
"\n\texisting = " + existing.getClass().getName();
176+
return (overwrite ? "Overwriting " : "Not overwriting ") + //
177+
type + " '" + key + "':\n" + //
178+
"\tproposed = " + proposed.getClass().getName() + "\n" +
179+
"\texisting = " + existing.getClass().getName();
179180
}
180181

181182
}

0 commit comments

Comments
 (0)