mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-142751 Use replace rather than replaceAll to avoid pattern matcher and regex use
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ public class SettingsDialog extends DialogWrapper implements DataProvider {
|
||||
String name = configurable == null ? null : configurable.getDisplayName();
|
||||
String title = CommonBundle.settingsTitle();
|
||||
if (project != null && project.isDefault()) title = "Default " + title;
|
||||
setTitle(name == null ? title : name.replaceAll("\n", " "));
|
||||
setTitle(name == null ? title : name.replace('\n', ' '));
|
||||
init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user