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-sandbox/src/java/org/apache/log4j/chainsaw DefaultSortTableModel.java EventContainer.java FilterChangeExecutor.java
Date Mon, 26 May 2003 06:50:10 GMT
psmith      2003/05/25 23:50:09

  Modified:    src/java/org/apache/log4j/chainsaw
                        DefaultSortTableModel.java EventContainer.java
                        FilterChangeExecutor.java
  Log:
  fixed subtle issue where during Filtering the addRow method shouldn't
  be called, rather, a new addFilteredRow is used instead.
  
  Revision  Changes    Path
  1.16      +8 -0      jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/DefaultSortTableModel.java
  
  Index: DefaultSortTableModel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/DefaultSortTableModel.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- DefaultSortTableModel.java	26 May 2003 04:42:06 -0000	1.15
  +++ DefaultSortTableModel.java	26 May 2003 06:50:09 -0000	1.16
  @@ -610,4 +610,12 @@
         getDataVector().clear();
       }
     }
  +
  +  /* (non-Javadoc)
  +   * @see org.apache.log4j.chainsaw.EventContainer#addFilteredRow(java.util.Vector)
  +   */
  +  public void addFilteredRow(Vector row) {
  +    addRow(row);
  +    
  +  }
   }
  
  
  
  1.4       +2 -0      jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/EventContainer.java
  
  Index: EventContainer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/EventContainer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- EventContainer.java	26 May 2003 04:41:19 -0000	1.3
  +++ EventContainer.java	26 May 2003 06:50:09 -0000	1.4
  @@ -183,4 +183,6 @@
     public String getDetailText(int selectedRow);
   
     public void fireTableDataChanged();
  +
  +  public void addFilteredRow(Vector row);
   }
  
  
  
  1.3       +1 -1      jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/FilterChangeExecutor.java
  
  Index: FilterChangeExecutor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/FilterChangeExecutor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FilterChangeExecutor.java	26 May 2003 04:40:23 -0000	1.2
  +++ FilterChangeExecutor.java	26 May 2003 06:50:09 -0000	1.3
  @@ -82,7 +82,7 @@
             v3 = model.getDisplayFilter().filterColumns(v2);
   
             if (this.model.getDisplayFilter().isDisplayed(v2)) {
  -            model.addRow(v3);
  +            model.addFilteredRow(v3);
             }
           }
         }
  
  
  

---------------------------------------------------------------------
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