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.
if (all.size() == 0) {
return SimpleAttributeSet.EMPTY;
} if (all.size() == 1) {
return all.get(0);
} else {
return new Composite(all.toArray(new AttributeSet[all.size()]));
}