summaryrefslogtreecommitdiff
blob: e7ad896f1a11cd34bb712c3c2778301a492840d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff -ru Code/com/jamonapi/utils/CommandIterator.java Code-patched/com/jamonapi/utils/CommandIterator.java
--- Code/com/jamonapi/utils/CommandIterator.java	2004-01-29 22:42:34.000000000 -0500
+++ Code-patched/com/jamonapi/utils/CommandIterator.java	2005-11-04 08:52:30.000000000 -0500
@@ -38,8 +38,8 @@
     
     
     /** Iterate through an Enumeration passing the Command object each element in the Collection **/
-    public static void iterate(Enumeration enum, Command command)throws Exception     {
-        iterate(new EnumIterator(enum) , command);
+    public static void iterate(Enumeration my_enum, Command command)throws Exception     {
+        iterate(new EnumIterator(my_enum) , command);
     }
 
     /** Iterate passing each Command each Object that is being iterated **/
diff -ru Code/com/jamonapi/utils/EnumIterator.java Code-patched/com/jamonapi/utils/EnumIterator.java
--- Code/com/jamonapi/utils/EnumIterator.java	2004-01-29 22:42:34.000000000 -0500
+++ Code-patched/com/jamonapi/utils/EnumIterator.java	2005-11-04 08:52:10.000000000 -0500
@@ -6,18 +6,18 @@
 
 
 public class EnumIterator extends java.lang.Object implements java.util.Iterator {
-    Enumeration enum;
+    Enumeration my_enum;
 
-    public EnumIterator(Enumeration enum) {
-        this.enum=enum;
+    public EnumIterator(Enumeration my_enum) {
+        this.my_enum=my_enum;
     }
     
     public boolean hasNext() {
-        return enum.hasMoreElements();
+        return my_enum.hasMoreElements();
     }
     
     public Object next() {
-        return enum.nextElement();
+        return my_enum.nextElement();
     }
     
     public void remove() {