classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in java.util.TreeMap


From: Brian Jones
Subject: Re: Bug in java.util.TreeMap
Date: 02 May 2002 18:45:40 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Xuan Baldauf <address@hidden> writes:

> Hello,
> 
> the third line from the end of the sourcecode of
> java.util.TreeMap as visible at
> 
> http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/util/TreeMap.java?rev=1.19&content-type=text/vnd.viewcvs-markup
> 
> is
> 
>       return this.keys;
> 
> but it should be
> 
>       return this.values;
> 
> This typo was not caught by the compiler because each set is
> also a collection.

Thanks, I've got this one into CVS shortly.

2002-05-02  Xuan Baldauf <address@hidden>

        * java/util/TreeMap.java (SubMap.values): return this.values instead
        of this.keys

Brian
-- 
Brian Jones <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]