classpath
[Top][All Lists]
Advanced

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

Bug in java.util.TreeMap


From: Xuan Baldauf
Subject: Bug in java.util.TreeMap
Date: Wed, 01 May 2002 17:21:37 +0200

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.

Regards,

Xuân.

P.S.: Please include my e-Mail address in replies as I'm not
subscribed.

--
Mit freundlichen Grüßen

Xuân Baldauf
Medium.net Internet Server Software





reply via email to

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