Author: ozeigermann Date: Fri Jul 29 03:30:52 2005 New Revision: 226342 URL: http://svn.apache.org/viewcvs?rev=226342&view=rev Log: Fixed Java 5 incompatible naming of local variables
Modified: jakarta/slide/trunk/wck/src/org/apache/slide/simple/reference/WebdavFileStore.java jakarta/slide/trunk/wck/src/org/apache/slide/simple/store/WebdavStoreAdapter.java Modified: jakarta/slide/trunk/wck/src/org/apache/slide/simple/reference/WebdavFileStore.java URL: http://svn.apache.org/viewcvs/jakarta/slide/trunk/wck/src/org/apache/slide/simple/reference/WebdavFileStore.java?rev=226342&r1=226341&r2=226342&view=diff ============================================================================== --- jakarta/slide/trunk/wck/src/org/apache/slide/simple/reference/WebdavFileStore.java (original) +++ jakarta/slide/trunk/wck/src/org/apache/slide/simple/reference/WebdavFileStore.java Fri Jul 29 03:30:52 2005 @@ -533,9 +533,9 @@ } Properties properties = readProperties(file); List locks = new ArrayList(); - Enumeration enum = properties.propertyNames(); - while (enum.hasMoreElements()) { - String id = (String) enum.nextElement(); + Enumeration enumeration = properties.propertyNames(); + while (enumeration.hasMoreElements()) { + String id = (String) enumeration.nextElement(); String value = properties.getProperty(id); if (value == null) { throw new ServiceAccessException(service, "Invalid lockId " + id); Modified: jakarta/slide/trunk/wck/src/org/apache/slide/simple/store/WebdavStoreAdapter.java URL: http://svn.apache.org/viewcvs/jakarta/slide/trunk/wck/src/org/apache/slide/simple/store/WebdavStoreAdapter.java?rev=226342&r1=226341&r2=226342&view=diff ============================================================================== --- jakarta/slide/trunk/wck/src/org/apache/slide/simple/store/WebdavStoreAdapter.java (original) +++ jakarta/slide/trunk/wck/src/org/apache/slide/simple/store/WebdavStoreAdapter.java Fri Jul 29 03:30:52 2005 @@ -776,9 +776,9 @@ } } else if (bulkPropStore != null) { Map properties = new HashMap(); - Enumeration enum = revisionDescriptor.enumerateProperties(); - while (enum.hasMoreElements()) { - NodeProperty property = (NodeProperty) enum.nextElement(); + Enumeration enumeration = revisionDescriptor.enumerateProperties(); + while (enumeration.hasMoreElements()) { + NodeProperty property = (NodeProperty) enumeration.nextElement(); String name = property.getName(); String ns = property.getNamespace(); String effectiveName = getNamespacedPropertyName(ns, name); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]