1 Jan 2004 01:36
cvs commit: logging-log4j/src/java/org/apache/log4j/chainsaw/color ColorPanel.java
<sdeboy <at> apache.org>
2004-01-01 00:36:10 GMT
2004-01-01 00:36:10 GMT
sdeboy 2003/12/31 16:36:10
Modified: src/java/org/apache/log4j/chainsaw
ChainsawCyclicBufferTableModel.java
ChainsawStatusBar.java
src/java/org/apache/log4j/chainsaw/color ColorPanel.java
Log:
- fixed cyclictablemodel so it will use the 'CHAINSAW_CAPACITY' system property and correctly size the
capacity. Will move to a normal pref next.
- sized status bar so it will hold 99k without truncating
Revision Changes Path
1.16 +4 -2 logging-log4j/src/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java
Index: ChainsawCyclicBufferTableModel.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/ChainsawCyclicBufferTableModel.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChainsawCyclicBufferTableModel.java 31 Dec 2003 09:54:40 -0000 1.15
+++ ChainsawCyclicBufferTableModel.java 1 Jan 2004 00:36:10 -0000 1.16
<at> <at> -92,8 +92,8 <at> <at>
private final int DEFAULT_CAPACITY = 5000;
private int capacity = DEFAULT_CAPACITY;
private static final String PANEL_CAPACITY = "CHAINSAW_CAPACITY";
- List unfilteredList = new CyclicBufferList(capacity);
- List filteredList = new CyclicBufferList(capacity);
+ List unfilteredList;
+ List filteredList;
(Continue reading)
RSS Feed