fixed EA-48905 - SIOOBE: ParameterInfoComponent$OneLineComponent.buildLabelText

This commit is contained in:
Ekaterina Tuzova
2013-09-23 19:23:15 +04:00
parent 4852116017
commit 6bf3a027d8
@@ -315,7 +315,7 @@ public class ParameterInfoComponent extends JPanel {
if (i == paramCount + added - 1) {
myOneLineComponents[index] = new OneLineComponent();
setBackground(background);
buf.append(myOneLineComponents[index].setup(text, flagsMap, background));
buf.append(myOneLineComponents[index].setup(escapeString(text), flagsMap, background));
add(myOneLineComponents[index], new GridBagConstraints(0, index, 1, 1, 1, 0, GridBagConstraints.WEST,
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
index += 1;