portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/impl LanguageImpl.java
Date Wed, 22 Sep 2004 14:04:31 GMT
weaver      2004/09/22 07:04:31

  Modified:    components/registry/src/java/org/apache/jetspeed/om/impl
                        LanguageImpl.java
  Log:
  Changed to using  java.util.Collections.enumeration() instead of pluto Enumeration class
  
  Revision  Changes    Path
  1.7       +3 -3      jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java
  
  Index: LanguageImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- LanguageImpl.java	15 Sep 2004 20:07:25 -0000	1.6
  +++ LanguageImpl.java	22 Sep 2004 14:04:31 -0000	1.7
  @@ -18,6 +18,7 @@
   import java.io.Serializable;
   import java.util.ArrayList;
   import java.util.Collection;
  +import java.util.Collections;
   import java.util.Enumeration;
   import java.util.HashMap;
   import java.util.Iterator;
  @@ -29,7 +30,6 @@
   import org.apache.jetspeed.om.common.MutableLanguage;
   import org.apache.jetspeed.util.HashCodeBuilder;
   import org.apache.pluto.om.common.Language;
  -import org.apache.pluto.util.Enumerator;
   
   /**
    * 
  @@ -283,7 +283,7 @@
   
           public Enumeration getKeys()
           {
  -            return new Enumerator(data.keySet());
  +            return Collections.enumeration(data.keySet());
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message