You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ps...@apache.org on 2003/05/01 01:09:17 UTC
cvs commit: jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw LogUI.java ToolTipSelector.java
psmith 2003/04/30 16:09:17
Modified: src/java/org/apache/log4j/chainsaw LogUI.java
ToolTipSelector.java
Log:
A few more Impls->Interface changes
Revision Changes Path
1.8 +12 -12 jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/LogUI.java
Index: LogUI.java
===================================================================
RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/LogUI.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- LogUI.java 30 Apr 2003 23:01:58 -0000 1.7
+++ LogUI.java 30 Apr 2003 23:09:16 -0000 1.8
@@ -548,26 +548,26 @@
final ColorFilter colorFilter = new ColorFilter();
final DisplayFilter displayFilter;
boolean isDocked = true;
- final HashMap columnDisplayMap = new HashMap();
- final HashMap colorDisplayMap = new HashMap();
- final HashSet loggerSet = new HashSet();
+ final Map columnDisplayMap = new HashMap();
+ final Map colorDisplayMap = new HashMap();
+ final Set loggerSet = new HashSet();
final ColorDisplaySelector colorDisplaySelector;
- HashSet levelSet = new HashSet();
- HashSet MDCSet = new HashSet();
- HashSet NDCSet = new HashSet();
- HashSet threadSet = new HashSet();
- HashSet classSet = new HashSet();
- HashSet methodSet = new HashSet();
- HashSet fileSet = new HashSet();
+ Set levelSet = new HashSet();
+ Set MDCSet = new HashSet();
+ Set NDCSet = new HashSet();
+ Set threadSet = new HashSet();
+ Set classSet = new HashSet();
+ Set methodSet = new HashSet();
+ Set fileSet = new HashSet();
//used for consistency - stays empty - used to allow none set in the colordisplay selector and right click
- HashSet noneSet = new HashSet();
+ Set noneSet = new HashSet();
Point currentPoint;
public LogPanel(
final String ident, final DefaultSortTableModel tableModel,
final JSortTable table, final ScrollToBottom scrollToBottom,
- final HashMap map) {
+ final Map map) {
map.put(LEVEL_COL_NAME, levelSet);
levelSet.addAll(levelList);
1.2 +3 -3 jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/ToolTipSelector.java
Index: ToolTipSelector.java
===================================================================
RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/chainsaw/ToolTipSelector.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ToolTipSelector.java 28 Apr 2003 05:44:31 -0000 1.1
+++ ToolTipSelector.java 30 Apr 2003 23:09:16 -0000 1.2
@@ -53,10 +53,10 @@
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
-
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
+import java.util.List;
import java.util.Map;
import java.util.Vector;
@@ -74,10 +74,10 @@
*
*/
public class ToolTipSelector extends JFrame {
- private HashMap displayToolTipBoxMap = new HashMap();
+ private Map displayToolTipBoxMap = new HashMap();
public ToolTipSelector(
- final Vector columnNames, final DisplayFilter displayFilter) {
+ final List columnNames, final DisplayFilter displayFilter) {
setLocation(150, 150);
JPanel toolTipPanel = new JPanel(new GridLayout(0, 1));
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org