Skip to content

Commit 7bad8c7

Browse files
committed
Add some line breaks in the upgrade error message
1 parent eb47248 commit 7bad8c7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/net/imagej/ui/swing/updater/LauncherMigrator.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -368,14 +368,14 @@ private void switchToNewLauncher() {
368368
if (log != null) {
369369
Path cfgPath = appDir.toPath().resolve(
370370
Paths.get("config", "jaunch", appSlug + ".cfg"));
371-
log.warn("Congratulations on upgrading Java. Unfortunately, " +
371+
log.warn("Congratulations on upgrading Java.\n\tUnfortunately, " +
372372
"the Java version chosen by the new launcher after the upgrade " +
373373
"is " + nljv + ", which is still less than the recommended Java " +
374-
"version of " + Java.recommendedVersion() + ". This should not " +
375-
"be the case of course; it seems to be a bug. Would you please " +
376-
"visit https://forum.image.sc/ and report this problem? Click " +
374+
"version of " + Java.recommendedVersion() + ".\n\tThis should not " +
375+
"be the case of course; it seems to be a bug.\n\tWould you please " +
376+
"visit https://forum.image.sc/ and report this problem?\n\tClick " +
377377
"'New Topic', choose 'Usage & Issues' category, and use tag '" +
378-
appSlug + "'. To fix it locally for now, you can try editing the " +
378+
appSlug + "'.\n\tTo fix it locally for now, you can try editing the " +
379379
cfgPath + " file by hand to point to a newer Java installation.");
380380
}
381381
return;

0 commit comments

Comments
 (0)