This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 100252
Collapse All | Expand All

(-)editor/settings/src/org/netbeans/api/editor/settings/AttributesUtilities.java (+2 lines)
Lines 128-133 Link Here
128
128
129
            if (all.size() == 0) {
129
            if (all.size() == 0) {
130
                return SimpleAttributeSet.EMPTY;
130
                return SimpleAttributeSet.EMPTY;
131
            } if (all.size() == 1) {
132
                return all.get(0);
131
            } else {
133
            } else {
132
                return new Composite(all.toArray(new AttributeSet[all.size()]));
134
                return new Composite(all.toArray(new AttributeSet[all.size()]));
133
            }
135
            }

Return to bug 100252