mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[nanoxml] Use Properties.putAll()
GitOrigin-RevId: 3c8deca8ec37c7a0e2144e26c0c2874e046d7c4b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3e51c05b69
commit
4148e4f9db
@@ -455,12 +455,7 @@ public abstract class NonValidator implements IXMLValidator {
|
||||
@Override
|
||||
public void elementAttributesProcessed(String name, Properties extraAttributes, String systemId, int lineNr) {
|
||||
Properties props = currentElements.pop();
|
||||
Enumeration<Object> enumeration = props.keys();
|
||||
|
||||
while (enumeration.hasMoreElements()) {
|
||||
String key = (String)enumeration.nextElement();
|
||||
extraAttributes.put(key, props.get(key));
|
||||
}
|
||||
extraAttributes.putAll(props);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user