ercpe 14/06/21 07:04:40 Added: 0.5-fix-jdk-1.7-enum.patch Log: EAPI bump; ebuild QA; fixed compilation error with jdk 1.7 (#514070) (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
Revision Changes Path 1.1 dev-java/xp/files/0.5-fix-jdk-1.7-enum.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xp/files/0.5-fix-jdk-1.7-enum.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xp/files/0.5-fix-jdk-1.7-enum.patch?rev=1.1&content-type=text/plain Index: 0.5-fix-jdk-1.7-enum.patch =================================================================== diff --git a/com/jclark/xml/sax/Driver.java b/com/jclark/xml/sax/Driver.java index 2b0d90a..d1efd3e 100644 --- a/com/jclark/xml/sax/Driver.java +++ b/com/jclark/xml/sax/Driver.java @@ -160,9 +160,9 @@ public class Driver extends ApplicationImpl DTD dtd = event.getDTD(); - for (Enumeration enum = dtd.entityNames(DTD.NOTATION); - enum.hasMoreElements(); ) { - String name = (String)enum.nextElement(); + for (Enumeration enumx = dtd.entityNames(DTD.NOTATION); + enumx.hasMoreElements(); ) { + String name = (String)enumx.nextElement(); Entity entity = dtd.getEntity(DTD.NOTATION, name); String systemId = entity.getSystemId(); if (systemId != null) { @@ -173,9 +173,9 @@ public class Driver extends ApplicationImpl } dtdHandler.notationDecl(name, entity.getPublicId(), systemId); } - for (Enumeration enum = dtd.entityNames(DTD.GENERAL_ENTITY); - enum.hasMoreElements();) { - String name = (String)enum.nextElement(); + for (Enumeration enumx = dtd.entityNames(DTD.GENERAL_ENTITY); + enumx.hasMoreElements();) { + String name = (String)enumx.nextElement(); Entity entity = dtd.getEntity(DTD.GENERAL_ENTITY, name); String notationName = entity.getNotationName(); if (notationName != null) {
