mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
fixed EA-48905 - SIOOBE: ParameterInfoComponent$OneLineComponent.buildLabelText
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user