avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl AbstractSource.java
Date Wed, 12 Jun 2002 10:03:46 GMT
cziegeler    2002/06/12 03:03:46

  Modified:    sourceresolve/src/java/org/apache/excalibur/source/impl
                        AbstractSource.java
  Log:
  Removed internal class
  
  Revision  Changes    Path
  1.2       +3 -9      jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl/AbstractSource.java
  
  Index: AbstractSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl/AbstractSource.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractSource.java	12 Jun 2002 09:24:14 -0000	1.1
  +++ AbstractSource.java	12 Jun 2002 10:03:45 -0000	1.2
  @@ -153,15 +153,9 @@
        */
       public Iterator getParameterNames() {
           this.checkInfos();
  -        return emptyIterator;
  -    }
  +        return java.util.Collections.EMPTY_LIST.iterator();
   
  -    protected static EmptyIterator emptyIterator = new EmptyIterator();
  +    }
   
  -}
   
  -class EmptyIterator implements Iterator {
  -    public boolean hasNext() { return false; }
  -    public Object next() { return null; }
  -    public void remove() {}
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message