Skip to content

Commit 75146d3

Browse files
committed
ShadowMenu: reformat string concatenation
1 parent 66ed844 commit 75146d3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/java/org/scijava/menu/ShadowMenu.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,12 +548,14 @@ else if (existingChild != null) {
548548
final ModuleInfo childInfo = existingChild.getModuleInfo();
549549
if (childInfo != null && info.getPriority() == childInfo.getPriority())
550550
{
551-
log.warn("ShadowMenu: menu item already exists:\n\texisting: " +
552-
childInfo + "\n\t ignored: " + info);
551+
log.warn("ShadowMenu: menu item already exists:\n" + //
552+
"\texisting: " + childInfo + "\n" + //
553+
"\t ignored: " + info);
553554
}
554555
else {
555556
log.debug("ShadowMenu: higher-priority menu item already exists:\n" +
556-
"\texisting: " + childInfo + "\n\t ignored: " + info);
557+
"\texisting: " + childInfo + "\n" + //
558+
"\t ignored: " + info);
557559
}
558560
}
559561
}

0 commit comments

Comments
 (0)