[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: small fix for TableModelEvent constructor
From: |
David Gilbert |
Subject: |
[cp-patches] FYI: small fix for TableModelEvent constructor |
Date: |
Fri, 01 Jul 2005 09:49:48 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050426) |
I committed this small patch to fix a couple of Mauve tests:
2005-07-01 David Gilbert <address@hidden>
* javax/swing/event/TableModelEvent.java:
(TableModelEvent(TableModel): set lastRowIndex to Integer.MAX_VALUE.
Regards,
Dave Gilbert
Index: javax/swing/event/TableModelEvent.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/event/TableModelEvent.java,v
retrieving revision 1.8
diff -u -r1.8 TableModelEvent.java
--- javax/swing/event/TableModelEvent.java 29 Jun 2005 10:06:51 -0000
1.8
+++ javax/swing/event/TableModelEvent.java 1 Jul 2005 08:41:25 -0000
@@ -99,7 +99,7 @@
*/
public TableModelEvent(TableModel source)
{
- this(source, 0, source.getRowCount(), ALL_COLUMNS, UPDATE);
+ this(source, 0, Integer.MAX_VALUE, ALL_COLUMNS, UPDATE);
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: small fix for TableModelEvent constructor,
David Gilbert <=