#967 Replace DefineText content from CLI

This commit is contained in:
honfika@gmail.com
2015-07-14 21:52:44 +02:00
parent 74c78b4b28
commit c4530dfdd5
3 changed files with 50 additions and 20 deletions

View File

@@ -1981,12 +1981,12 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
private final ConfigurationItem<Boolean> showAgainInvalidText = new ConfigurationItem<>("showAgainInvalidText", true, true);
private String getTextTagInfo(TextTag textTag) {
String ret = "";
StringBuilder ret = new StringBuilder();
if (textTag != null) {
ret += " TextId: " + textTag.getCharacterId() + " (" + String.join(", ", textTag.getTexts()) + ")";
ret.append(" TextId: ").append(textTag.getCharacterId()).append(" (").append(String.join(", ", textTag.getTexts())).append(")");
}
return ret;
return ret.toString();
}
@Override