--- [EMAIL PROTECTED] wrote:
> peterreilly    2005/03/14 01:14:56
> 
>   Modified:    src/main/org/apache/tools/ant/util
> CollectionUtils.java
>   Log:
>   allow ant to compile with ant 1.5 again.

Oops!  :)  Thanks!

-Matt
>   
>   Revision  Changes    Path
>   1.18      +4 -4     
>
ant/src/main/org/apache/tools/ant/util/CollectionUtils.java
>   
>   Index: CollectionUtils.java
>  
>
===================================================================
>   RCS file:
>
/home/cvs/ant/src/main/org/apache/tools/ant/util/CollectionUtils.java,v
>   retrieving revision 1.17
>   retrieving revision 1.18
>   diff -u -r1.17 -r1.18
>   --- CollectionUtils.java    10 Mar 2005 21:16:08
> -0000 1.17
>   +++ CollectionUtils.java    14 Mar 2005 09:14:56
> -0000 1.18
>   @@ -158,16 +158,16 @@
>    
>        /**
>         * Adapt the specified Enumeration to the
> Iterator interface.
>   -     * @param enum the Enumeration to adapt.
>   +     * @param e the Enumeration to adapt.
>         * @return an Iterator.
>         */
>   -    public static Iterator asIterator(final
> Enumeration enum) {
>   +    public static Iterator asIterator(final
> Enumeration e) {
>            return new Iterator() {
>                public boolean hasNext() {
>   -                return enum.hasMoreElements();
>   +                return e.hasMoreElements();
>                }
>                public Object next() {
>   -                return enum.nextElement();
>   +                return e.nextElement();
>                }
>                public void remove() {
>                    throw new
> UnsupportedOperationException();
>   
>   
>   
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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

Reply via email to