|
From: Pavel V. <va...@us...> - 2002-08-17 19:13:09
|
Update of /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/views
In directory usw-pr-cvs1:/tmp/cvs-serv17984
Modified Files:
TableClickSorter.java
Log Message:
small fix
Index: TableClickSorter.java
===================================================================
RCS file: /cvsroot/javaprofiler/module/net/sourceforge/javaprofiler/module/views/TableClickSorter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** TableClickSorter.java 16 Aug 2002 13:09:27 -0000 1.2
--- TableClickSorter.java 17 Aug 2002 19:13:05 -0000 1.3
***************
*** 84,88 ****
public void tableChanged(TableModelEvent e) {
! /* if (e.getFirstRow() == TableModelEvent.HEADER_ROW) {
initColumns();
}
--- 84,88 ----
public void tableChanged(TableModelEvent e) {
! if (e.getFirstRow() == TableModelEvent.HEADER_ROW) {
initColumns();
}
***************
*** 97,101 ****
case TableModelEvent.UPDATE:
//nothing special
! }*/
super.tableChanged( e );
}
--- 97,101 ----
case TableModelEvent.UPDATE:
//nothing special
! }
super.tableChanged( e );
}
***************
*** 252,256 ****
int i;
! /* if (first < usedCount) { //repair broken mapping
for (i=0; i<usedCount; i++ )
if (indexes[i] >= first ) {
--- 252,256 ----
int i;
! if (first < usedCount) { //repair broken mapping
for (i=0; i<usedCount; i++ )
if (indexes[i] >= first ) {
***************
*** 264,268 ****
}
usedCount = last-first+1 + usedCount;
! */ }
private synchronized void delRows( int first, int last ) {
--- 264,268 ----
}
usedCount = last-first+1 + usedCount;
! }
private synchronized void delRows( int first, int last ) {
|