jford       2005/01/19 20:35:31

  Modified:    applications/jpetstore/src/java/com/ibatis/struts/httpmap
                        BaseHttpMap.java
  Log:
  Fixed variable name to work with JDK 5.0
  
  Revision  Changes    Path
  1.2       +6 -6      
jakarta-jetspeed-2/applications/jpetstore/src/java/com/ibatis/struts/httpmap/BaseHttpMap.java
  
  Index: BaseHttpMap.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/applications/jpetstore/src/java/com/ibatis/struts/httpmap/BaseHttpMap.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BaseHttpMap.java  20 Jan 2005 01:47:38 -0000      1.1
  +++ BaseHttpMap.java  20 Jan 2005 04:35:30 -0000      1.2
  @@ -74,18 +74,18 @@
   
     public Set keySet() {
       Set keySet = new HashSet();
  -    Enumeration enum = getNames();
  -    while (enum.hasMoreElements()) {
  -      keySet.add(enum.nextElement());
  +    Enumeration names = getNames();
  +    while (names.hasMoreElements()) {
  +      keySet.add(names.nextElement());
       }
       return keySet;
     }
   
     public Collection values() {
       List list = new ArrayList();
  -    Enumeration enum = getNames();
  -    while (enum.hasMoreElements()) {
  -      list.add(getValue(enum.nextElement()));
  +    Enumeration names = getNames();
  +    while (names.hasMoreElements()) {
  +      list.add(getValue(names.nextElement()));
       }
       return list;
     }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to