logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject cvs commit: jakarta-log4j/src/java/org/apache/log4j/chainsaw JSortTable.java
Date Fri, 19 Sep 2003 03:52:42 GMT
psmith      2003/09/18 20:52:42

  Modified:    src/java/org/apache/log4j/chainsaw JSortTable.java
  Log:
  Subtle changes to sorting code means the sorting method did not need
  as much information.
  
  Revision  Changes    Path
  1.2       +2 -4      jakarta-log4j/src/java/org/apache/log4j/chainsaw/JSortTable.java
  
  Index: JSortTable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/JSortTable.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JSortTable.java	25 Jun 2003 04:05:22 -0000	1.1
  +++ JSortTable.java	19 Sep 2003 03:52:42 -0000	1.2
  @@ -117,8 +117,7 @@
       sortedColumnIndex = index;
   
       SortTableModel model = (SortTableModel) getModel();
  -    model.sortColumn(
  -      this, sortedColumnIndex, getSelectedRow(), sortedColumnAscending);
  +    model.sortColumn(sortedColumnIndex, sortedColumnAscending);
     }
   
     public void scrollToRow(final int row, final int col) {
  @@ -172,8 +171,7 @@
   
         sortedColumnIndex = index;
         sortedColumn = colModel.getColumn(index).getHeaderValue().toString();
  -      model.sortColumn(
  -        this, modelIndex, getSelectedRow(), sortedColumnAscending);
  +      model.sortColumn(modelIndex, sortedColumnAscending);
       }
     }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message