[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Minor tweak to java.awt.List
From: |
Sven de Marothy |
Subject: |
[cp-patches] FYI: Minor tweak to java.awt.List |
Date: |
Sat, 23 Jul 2005 18:00:54 +0200 |
This agrees with the JDK behaviour better. And my peers expect it too.
(Whoops, accidentally commited a change to Component. Did that revert
correctly?)
/Sven
===================================================================
RCS file: /cvsroot/classpath/cvsroot/classpath/classpath/java/awt/List.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- classpath/classpath/java/awt/List.java 2005/07/02 20:32:25 1.23
+++ classpath/classpath/java/awt/List.java 2005/07/23 15:47:46 1.24
@@ -163,6 +163,7 @@
{
this.rows = rows;
this.multipleMode = multipleMode;
+ selected = new int[0];
if (GraphicsEnvironment.isHeadless())
throw new HeadlessException ();
- [cp-patches] FYI: Minor tweak to java.awt.List,
Sven de Marothy <=