Skip to content

Commit 591352e

Browse files
committed
Start Page suffix: cleanup sourceName before normalizing
1 parent f14d1c6 commit 591352e

File tree

1 file changed

+1
-1
lines changed
  • visualvm/appui/src/org/graalvm/visualvm/modules/appui/welcome

1 file changed

+1
-1
lines changed

visualvm/appui/src/org/graalvm/visualvm/modules/appui/welcome/WebLink.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private static synchronized String getSourceId() {
7777
else {
7878
String sourceName = mainWindow.getTitle();
7979
if (sourceName == null) sourceId = "VisualVM (Unknown Version)"; // NOI18N
80-
else sourceId = "?" + sourceName.replace(" ", "_"); // NOI18N
80+
else sourceId = "?" + sourceName.trim().replace(" ", "_"); // NOI18N
8181
}
8282
}
8383

0 commit comments

Comments
 (0)