You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-java/xmldb/files/xmldb-20011111-enum.patch

16 lines
618 B

--- a/org/xmldb/api/sdk/modules/SetContentHandler.java 2017-03-17 21:49:05.540172602 +0000
+++ b/org/xmldb/api/sdk/modules/SetContentHandler.java 2017-03-17 21:49:22.860172942 +0000
@@ -168,9 +168,9 @@
}
}
- Enumeration enum = namespaces.keys();
- while ( enum.hasMoreElements() ) {
- String key = (String) enum.nextElement();
+ Enumeration myEnum = namespaces.keys();
+ while ( myEnum.hasMoreElements() ) {
+ String key = (String) myEnum.nextElement();
newContent.append(" xmlns");
if (key.length() > 0) {
newContent.append(":");