]> source.dussan.org Git - aspectj.git/commitdiff
Matthew fix for 83380: don't use enum as a variable name.
authoraclement <aclement>
Wed, 26 Jan 2005 09:22:54 +0000 (09:22 +0000)
committeraclement <aclement>
Wed, 26 Jan 2005 09:22:54 +0000 (09:22 +0000)
weaver/testsrc/org/aspectj/weaver/WeavingURLClassLoaderTest.java

index 3acadcdd2c655025643131784614d3c0966c6d63..cbaaf16a0ab04e71f571ce841f10ff23ae5f1a65 100644 (file)
@@ -397,8 +397,8 @@ public class WeavingURLClassLoaderTest extends TestCase {
                
                /* Restore system properties */
                Properties systemProperties = System.getProperties();
-               for (Enumeration enum = savedProperties.keys(); enum.hasMoreElements(); ) {
-                       String key = (String)enum.nextElement();
+               for (Enumeration enu = savedProperties.keys(); enu.hasMoreElements(); ) {
+                       String key = (String)enu.nextElement();
                        String value = savedProperties.getProperty(key);
                        if (value == NULL) systemProperties.remove(key);
                        else systemProperties.setProperty(key,value);