mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't show empty quotes
This commit is contained in:
@@ -55,6 +55,6 @@ public abstract class Executor {
|
||||
public abstract String getHelpId();
|
||||
|
||||
public String getStartActionText(String configurationName) {
|
||||
return getStartActionText() + " '" + StringUtil.first(configurationName, 30, true) + "'";
|
||||
return getStartActionText() + (StringUtil.isEmpty(configurationName) ? "" : " '" + StringUtil.first(configurationName, 30, true) + "'");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user