logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r824150 - in /logging/log4j/trunk/src/main/java/org/apache/log4j: ./ jdbc/ lf5/ lf5/util/ lf5/viewer/ lf5/viewer/categoryexplorer/ lf5/viewer/configure/ net/ spi/
Date Sun, 11 Oct 2009 20:58:28 GMT
Author: carnold
Date: Sun Oct 11 20:58:26 2009
New Revision: 824150

URL: http://svn.apache.org/viewvc?rev=824150&view=rev
Log:
Bug 45481: Replace wildcard imports

Modified:
    logging/log4j/trunk/src/main/java/org/apache/log4j/FileAppender.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/WriterAppender.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/jdbc/JDBCAppender.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/LF5Appender.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/LogLevel.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogFileParser.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogMonitorAdapter.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LF5SwingUtils.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5Dialog.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5ErrorDialog.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5LoadingDialog.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTable.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTableRowRenderer.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/TrackingAdjustmentListener.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryAbstractCellEditor.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerModel.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerTree.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEditor.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNodeEditor.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNodeEditorRenderer.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/net/SocketNode.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/net/SocketServer.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/spi/HierarchyEventListener.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/spi/LoggerRepository.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/spi/RootCategory.java
    logging/log4j/trunk/src/main/java/org/apache/log4j/spi/RootLogger.java

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/FileAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/FileAppender.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/FileAppender.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/FileAppender.java Sun Oct 11 20:58:26
2009
@@ -17,11 +17,17 @@
 
 package org.apache.log4j;
 
-import java.io.*;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InterruptedIOException;
+import java.io.Writer;
 
-import org.apache.log4j.spi.ErrorCode;
-import org.apache.log4j.helpers.QuietWriter;
 import org.apache.log4j.helpers.LogLog;
+import org.apache.log4j.helpers.QuietWriter;
+import org.apache.log4j.spi.ErrorCode;
 
 // Contibutors: Jens Uwe Pipka <jens.pipka@gmx.de>
 //              Ben Sandee

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/WriterAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/WriterAppender.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/WriterAppender.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/WriterAppender.java Sun Oct 11 20:58:26
2009
@@ -17,12 +17,16 @@
 
 package org.apache.log4j;
 
-import java.io.*;
+import java.io.IOException;
+import java.io.InterruptedIOException;
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
 
+import org.apache.log4j.helpers.LogLog;
+import org.apache.log4j.helpers.QuietWriter;
 import org.apache.log4j.spi.ErrorHandler;
 import org.apache.log4j.spi.LoggingEvent;
-import org.apache.log4j.helpers.QuietWriter;
-import org.apache.log4j.helpers.LogLog;
 
 // Contibutors: Jens Uwe Pipka <jens.pipka@gmx.de>
 //              Ben Sandee

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/jdbc/JDBCAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/jdbc/JDBCAppender.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/jdbc/JDBCAppender.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/jdbc/JDBCAppender.java Sun Oct 11 20:58:26
2009
@@ -16,16 +16,16 @@
  */
 package org.apache.log4j.jdbc;
 
-import org.apache.log4j.spi.*;
-import org.apache.log4j.PatternLayout;
-
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.SQLException;
+import java.sql.Statement;
 import java.util.ArrayList;
 import java.util.Iterator;
 
-import java.sql.DriverManager;
-import java.sql.Connection;
-import java.sql.Statement;
-import java.sql.SQLException;
+import org.apache.log4j.PatternLayout;
+import org.apache.log4j.spi.ErrorCode;
+import org.apache.log4j.spi.LoggingEvent;
 
 
 /**

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/LF5Appender.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/LF5Appender.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/LF5Appender.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/LF5Appender.java Sun Oct 11 20:58:26
2009
@@ -17,13 +17,13 @@
 
 package org.apache.log4j.lf5;
 
-import org.apache.log4j.lf5.viewer.LogBrokerMonitor;
+import java.awt.Toolkit;
+
 import org.apache.log4j.AppenderSkeleton;
+import org.apache.log4j.lf5.viewer.LogBrokerMonitor;
 import org.apache.log4j.spi.LocationInfo;
 import org.apache.log4j.spi.LoggingEvent;
 
-import java.awt.*;
-
 /**
  * <code>LF5Appender</code> logs events to a swing based logging
  * console. The swing console supports turning categories on and off,

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/LogLevel.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/LogLevel.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/LogLevel.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/LogLevel.java Sun Oct 11 20:58:26
2009
@@ -16,9 +16,12 @@
  */
 package org.apache.log4j.lf5;
 
-import java.awt.*;
-import java.util.*;
+import java.awt.Color;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Iterator;
 import java.util.List;
+import java.util.Map;
 
 /**
  * The LogLevel class defines a set of standard logging levels.

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogFileParser.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogFileParser.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogFileParser.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogFileParser.java Sun Oct
11 20:58:26 2009
@@ -16,6 +16,18 @@
  */
 package org.apache.log4j.lf5.util;
 
+import java.io.BufferedInputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStream;
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+import javax.swing.SwingUtilities;
+
 import org.apache.log4j.lf5.Log4JLogRecord;
 import org.apache.log4j.lf5.LogLevel;
 import org.apache.log4j.lf5.LogLevelFormatException;
@@ -24,12 +36,6 @@
 import org.apache.log4j.lf5.viewer.LogFactor5ErrorDialog;
 import org.apache.log4j.lf5.viewer.LogFactor5LoadingDialog;
 
-import javax.swing.*;
-import java.io.*;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-
 /**
  * Provides utility methods for input and output streams.
  *

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogMonitorAdapter.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogMonitorAdapter.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogMonitorAdapter.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/util/LogMonitorAdapter.java Sun
Oct 11 20:58:26 2009
@@ -16,14 +16,14 @@
  */
 package org.apache.log4j.lf5.util;
 
+import java.awt.Toolkit;
+import java.util.Arrays;
+import java.util.List;
+
 import org.apache.log4j.lf5.LogLevel;
 import org.apache.log4j.lf5.LogRecord;
 import org.apache.log4j.lf5.viewer.LogBrokerMonitor;
 
-import java.awt.*;
-import java.util.Arrays;
-import java.util.List;
-
 /**
  * <p>LogMonitorAdapter facilitates the usage of the LogMonitor</p>
  *

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LF5SwingUtils.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LF5SwingUtils.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LF5SwingUtils.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LF5SwingUtils.java Sun Oct
11 20:58:26 2009
@@ -16,9 +16,14 @@
  */
 package org.apache.log4j.lf5.viewer;
 
-import javax.swing.*;
+import java.awt.Adjustable;
+
+import javax.swing.JComponent;
+import javax.swing.JScrollPane;
+import javax.swing.JTable;
+import javax.swing.ListSelectionModel;
+import javax.swing.SwingUtilities;
 import javax.swing.table.TableModel;
-import java.awt.*;
 
 /**
  * Provides methods to accomplish common yet non-trivial tasks

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java Sun
Oct 11 20:58:26 2009
@@ -16,18 +16,14 @@
  */
 package org.apache.log4j.lf5.viewer;
 
-import org.apache.log4j.lf5.LogLevel;
-import org.apache.log4j.lf5.LogRecord;
-import org.apache.log4j.lf5.LogRecordFilter;
-import org.apache.log4j.lf5.util.DateFormatManager;
-import org.apache.log4j.lf5.util.LogFileParser;
-import org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerTree;
-import org.apache.log4j.lf5.viewer.categoryexplorer.CategoryPath;
-import org.apache.log4j.lf5.viewer.configure.ConfigurationManager;
-import org.apache.log4j.lf5.viewer.configure.MRUFileManager;
-
-import javax.swing.*;
-import java.awt.*;
+import java.awt.BorderLayout;
+import java.awt.Color;
+import java.awt.Component;
+import java.awt.Dimension;
+import java.awt.FlowLayout;
+import java.awt.Font;
+import java.awt.GraphicsEnvironment;
+import java.awt.Toolkit;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import java.awt.event.WindowAdapter;
@@ -37,8 +33,44 @@
 import java.io.InputStream;
 import java.net.MalformedURLException;
 import java.net.URL;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
 import java.util.List;
+import java.util.Map;
+import java.util.StringTokenizer;
+import java.util.Vector;
+
+import javax.swing.BorderFactory;
+import javax.swing.ImageIcon;
+import javax.swing.JButton;
+import javax.swing.JCheckBoxMenuItem;
+import javax.swing.JColorChooser;
+import javax.swing.JComboBox;
+import javax.swing.JFileChooser;
+import javax.swing.JFrame;
+import javax.swing.JLabel;
+import javax.swing.JMenu;
+import javax.swing.JMenuBar;
+import javax.swing.JMenuItem;
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.JSplitPane;
+import javax.swing.JTextArea;
+import javax.swing.JToolBar;
+import javax.swing.KeyStroke;
+import javax.swing.SwingUtilities;
+
+import org.apache.log4j.lf5.LogLevel;
+import org.apache.log4j.lf5.LogRecord;
+import org.apache.log4j.lf5.LogRecordFilter;
+import org.apache.log4j.lf5.util.DateFormatManager;
+import org.apache.log4j.lf5.util.LogFileParser;
+import org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerTree;
+import org.apache.log4j.lf5.viewer.categoryexplorer.CategoryPath;
+import org.apache.log4j.lf5.viewer.configure.ConfigurationManager;
+import org.apache.log4j.lf5.viewer.configure.MRUFileManager;
 
 /**
  * LogBrokerMonitor

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5Dialog.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5Dialog.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5Dialog.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5Dialog.java Sun
Oct 11 20:58:26 2009
@@ -16,8 +16,19 @@
  */
 package org.apache.log4j.lf5.viewer;
 
-import javax.swing.*;
-import java.awt.*;
+import java.awt.Component;
+import java.awt.Container;
+import java.awt.Dimension;
+import java.awt.Font;
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.awt.Insets;
+import java.awt.Label;
+import java.awt.Toolkit;
+import java.awt.Window;
+
+import javax.swing.JDialog;
+import javax.swing.JFrame;
 
 /**
  * LogFactor5Dialog

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5ErrorDialog.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5ErrorDialog.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5ErrorDialog.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5ErrorDialog.java
Sun Oct 11 20:58:26 2009
@@ -16,11 +16,16 @@
  */
 package org.apache.log4j.lf5.viewer;
 
-import javax.swing.*;
-import java.awt.*;
+import java.awt.BorderLayout;
+import java.awt.FlowLayout;
+import java.awt.GridBagLayout;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 
+import javax.swing.JButton;
+import javax.swing.JFrame;
+import javax.swing.JPanel;
+
 /**
  * LogFactor5ErrorDialog
  *

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5LoadingDialog.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5LoadingDialog.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5LoadingDialog.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogFactor5LoadingDialog.java
Sun Oct 11 20:58:26 2009
@@ -16,8 +16,12 @@
  */
 package org.apache.log4j.lf5.viewer;
 
-import javax.swing.*;
-import java.awt.*;
+import java.awt.BorderLayout;
+import java.awt.FlowLayout;
+import java.awt.GridBagLayout;
+
+import javax.swing.JFrame;
+import javax.swing.JPanel;
 
 /**
  * LogFactor5LoadingDialog

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTable.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTable.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTable.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTable.java Sun Oct 11
20:58:26 2009
@@ -16,18 +16,23 @@
  */
 package org.apache.log4j.lf5.viewer;
 
-import org.apache.log4j.lf5.util.DateFormatManager;
+import java.awt.Font;
+import java.awt.FontMetrics;
+import java.awt.Graphics;
+import java.util.Enumeration;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Vector;
 
-import javax.swing.*;
+import javax.swing.JTable;
+import javax.swing.JTextArea;
+import javax.swing.ListSelectionModel;
 import javax.swing.event.ListSelectionEvent;
 import javax.swing.event.ListSelectionListener;
 import javax.swing.table.TableColumn;
 import javax.swing.table.TableColumnModel;
-import java.awt.*;
-import java.util.Enumeration;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Vector;
+
+import org.apache.log4j.lf5.util.DateFormatManager;
 
 /**
  * LogTable.

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTableRowRenderer.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTableRowRenderer.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTableRowRenderer.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/LogTableRowRenderer.java
Sun Oct 11 20:58:26 2009
@@ -16,12 +16,14 @@
  */
 package org.apache.log4j.lf5.viewer;
 
-import org.apache.log4j.lf5.LogLevel;
-import org.apache.log4j.lf5.LogRecord;
+import java.awt.Color;
+import java.awt.Component;
 
-import javax.swing.*;
+import javax.swing.JTable;
 import javax.swing.table.DefaultTableCellRenderer;
-import java.awt.*;
+
+import org.apache.log4j.lf5.LogLevel;
+import org.apache.log4j.lf5.LogRecord;
 
 /**
  * LogTableRowRenderer

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/TrackingAdjustmentListener.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/TrackingAdjustmentListener.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/TrackingAdjustmentListener.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/TrackingAdjustmentListener.java
Sun Oct 11 20:58:26 2009
@@ -16,7 +16,7 @@
  */
 package org.apache.log4j.lf5.viewer;
 
-import java.awt.*;
+import java.awt.Adjustable;
 import java.awt.event.AdjustmentEvent;
 import java.awt.event.AdjustmentListener;
 

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryAbstractCellEditor.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryAbstractCellEditor.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryAbstractCellEditor.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryAbstractCellEditor.java
Sun Oct 11 20:58:26 2009
@@ -16,15 +16,17 @@
  */
 package org.apache.log4j.lf5.viewer.categoryexplorer;
 
-import javax.swing.*;
+import java.awt.Component;
+import java.awt.event.MouseEvent;
+import java.util.EventObject;
+
+import javax.swing.JTable;
+import javax.swing.JTree;
 import javax.swing.event.CellEditorListener;
 import javax.swing.event.ChangeEvent;
 import javax.swing.event.EventListenerList;
 import javax.swing.table.TableCellEditor;
 import javax.swing.tree.TreeCellEditor;
-import java.awt.*;
-import java.awt.event.MouseEvent;
-import java.util.EventObject;
 
 /**
  * CategoryAbstractCellEditor.  Base class to handle the some common

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerModel.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerModel.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerModel.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerModel.java
Sun Oct 11 20:58:26 2009
@@ -16,16 +16,17 @@
  */
 package org.apache.log4j.lf5.viewer.categoryexplorer;
 
-import org.apache.log4j.lf5.LogRecord;
+import java.awt.AWTEventMulticaster;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.util.Enumeration;
 
-import javax.swing.*;
+import javax.swing.SwingUtilities;
 import javax.swing.tree.DefaultTreeModel;
 import javax.swing.tree.TreeNode;
 import javax.swing.tree.TreePath;
-import java.awt.*;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-import java.util.Enumeration;
+
+import org.apache.log4j.lf5.LogRecord;
 
 /**
  * CategoryExplorerModel

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerTree.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerTree.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerTree.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerTree.java
Sun Oct 11 20:58:26 2009
@@ -16,10 +16,11 @@
  */
 package org.apache.log4j.lf5.viewer.categoryexplorer;
 
-import javax.swing.*;
+import java.awt.event.MouseEvent;
+
+import javax.swing.JTree;
 import javax.swing.event.TreeModelEvent;
 import javax.swing.tree.TreePath;
-import java.awt.event.MouseEvent;
 
 /**
  * CategoryExplorerTree

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEditor.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEditor.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEditor.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEditor.java
Sun Oct 11 20:58:26 2009
@@ -16,13 +16,16 @@
  */
 package org.apache.log4j.lf5.viewer.categoryexplorer;
 
-import javax.swing.*;
-import javax.swing.tree.DefaultTreeCellEditor;
-import javax.swing.tree.TreePath;
-import java.awt.*;
+import java.awt.Dimension;
+import java.awt.Rectangle;
 import java.awt.event.MouseEvent;
 import java.util.EventObject;
 
+import javax.swing.Icon;
+import javax.swing.JTree;
+import javax.swing.tree.DefaultTreeCellEditor;
+import javax.swing.tree.TreePath;
+
 /**
  * CategoryImmediateEditor
  *

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNodeEditor.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNodeEditor.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNodeEditor.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNodeEditor.java
Sun Oct 11 20:58:26 2009
@@ -16,9 +16,7 @@
  */
 package org.apache.log4j.lf5.viewer.categoryexplorer;
 
-import javax.swing.*;
-import javax.swing.tree.TreePath;
-import java.awt.*;
+import java.awt.Component;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import java.awt.event.MouseAdapter;
@@ -26,6 +24,13 @@
 import java.util.ArrayList;
 import java.util.Enumeration;
 
+import javax.swing.JCheckBox;
+import javax.swing.JMenuItem;
+import javax.swing.JOptionPane;
+import javax.swing.JPopupMenu;
+import javax.swing.JTree;
+import javax.swing.tree.TreePath;
+
 /**
  * CategoryNodeEditor
  *

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNodeEditorRenderer.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNodeEditorRenderer.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNodeEditorRenderer.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNodeEditorRenderer.java
Sun Oct 11 20:58:26 2009
@@ -16,8 +16,10 @@
  */
 package org.apache.log4j.lf5.viewer.categoryexplorer;
 
-import javax.swing.*;
-import java.awt.*;
+import java.awt.Component;
+
+import javax.swing.JCheckBox;
+import javax.swing.JTree;
 
 /**
  * CategoryNodeEditorRenderer

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/configure/ConfigurationManager.java
Sun Oct 11 20:58:26 2009
@@ -16,33 +16,37 @@
  */
 package org.apache.log4j.lf5.viewer.configure;
 
+import java.awt.Color;
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.util.ArrayList;
+import java.util.Enumeration;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import javax.swing.JCheckBoxMenuItem;
+import javax.swing.tree.TreePath;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
 import org.apache.log4j.lf5.LogLevel;
 import org.apache.log4j.lf5.LogLevelFormatException;
 import org.apache.log4j.lf5.viewer.LogBrokerMonitor;
 import org.apache.log4j.lf5.viewer.LogTable;
+import org.apache.log4j.lf5.viewer.LogTableColumn;
+import org.apache.log4j.lf5.viewer.LogTableColumnFormatException;
 import org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerModel;
 import org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerTree;
 import org.apache.log4j.lf5.viewer.categoryexplorer.CategoryNode;
 import org.apache.log4j.lf5.viewer.categoryexplorer.CategoryPath;
-import org.apache.log4j.lf5.viewer.LogTableColumn;
-import org.apache.log4j.lf5.viewer.LogTableColumnFormatException;
 import org.w3c.dom.Document;
 import org.w3c.dom.NamedNodeMap;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
-import javax.swing.*;
-import javax.swing.tree.TreePath;
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import java.awt.*;
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.*;
-import java.util.List;
-
 /**
  * <p>ConfigurationManager handles the storage and retrival of the state of
  * the CategoryExplorer

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java
(original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/lf5/viewer/configure/MRUFileManager.java
Sun Oct 11 20:58:26 2009
@@ -16,7 +16,15 @@
  */
 package org.apache.log4j.lf5.viewer.configure;
 
-import java.io.*;
+import java.io.BufferedInputStream;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
 import java.net.URL;
 import java.util.Iterator;
 import java.util.LinkedList;

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/net/SocketNode.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/net/SocketNode.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/net/SocketNode.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/net/SocketNode.java Sun Oct 11 20:58:26
2009
@@ -17,15 +17,15 @@
 
 package org.apache.log4j.net;
 
-import java.net.Socket;
-import java.io.IOException;
-import java.io.ObjectInputStream;
 import java.io.BufferedInputStream;
+import java.io.IOException;
 import java.io.InterruptedIOException;
+import java.io.ObjectInputStream;
+import java.net.Socket;
 
-
-import org.apache.log4j.*;
-import org.apache.log4j.spi.*;
+import org.apache.log4j.Logger;
+import org.apache.log4j.spi.LoggerRepository;
+import org.apache.log4j.spi.LoggingEvent;
 
 // Contributors:  Moses Hohman <mmhohman@rainbow.uchicago.edu>
 

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/net/SocketServer.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/net/SocketServer.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/net/SocketServer.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/net/SocketServer.java Sun Oct 11 20:58:26
2009
@@ -17,14 +17,19 @@
 
 package org.apache.log4j.net;
 
-import java.net.Socket;
-import java.net.ServerSocket;
-import java.net.InetAddress;
 import java.io.File;
+import java.net.InetAddress;
+import java.net.ServerSocket;
+import java.net.Socket;
 import java.util.Hashtable;
 
-import org.apache.log4j.*;
-import org.apache.log4j.spi.*;
+import org.apache.log4j.Hierarchy;
+import org.apache.log4j.Level;
+import org.apache.log4j.LogManager;
+import org.apache.log4j.Logger;
+import org.apache.log4j.PropertyConfigurator;
+import org.apache.log4j.spi.LoggerRepository;
+import org.apache.log4j.spi.RootLogger;
 
 
 /**

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/spi/HierarchyEventListener.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/spi/HierarchyEventListener.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/spi/HierarchyEventListener.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/spi/HierarchyEventListener.java Sun
Oct 11 20:58:26 2009
@@ -17,7 +17,8 @@
 
 package org.apache.log4j.spi;
 
-import org.apache.log4j.*;
+import org.apache.log4j.Appender;
+import org.apache.log4j.Category;
 
 /**
    Listen to events occuring within a {@link

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/spi/LoggerRepository.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/spi/LoggerRepository.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/spi/LoggerRepository.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/spi/LoggerRepository.java Sun Oct 11
20:58:26 2009
@@ -17,9 +17,13 @@
 
 package org.apache.log4j.spi;
 
-import org.apache.log4j.*;
 import java.util.Enumeration;
 
+import org.apache.log4j.Appender;
+import org.apache.log4j.Category;
+import org.apache.log4j.Level;
+import org.apache.log4j.Logger;
+
 /**
    A <code>LoggerRepository</code> is used to create and retrieve
    <code>Loggers</code>. The relation between loggers in a repository

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/spi/RootCategory.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/spi/RootCategory.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/spi/RootCategory.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/spi/RootCategory.java Sun Oct 11 20:58:26
2009
@@ -17,8 +17,9 @@
 
 package org.apache.log4j.spi;
 
-import  org.apache.log4j.*;
-import  org.apache.log4j.helpers.LogLog;
+import org.apache.log4j.Level;
+import org.apache.log4j.Logger;
+import org.apache.log4j.helpers.LogLog;
 
 // Contibutors: Mathias Bogaert
 

Modified: logging/log4j/trunk/src/main/java/org/apache/log4j/spi/RootLogger.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/main/java/org/apache/log4j/spi/RootLogger.java?rev=824150&r1=824149&r2=824150&view=diff
==============================================================================
--- logging/log4j/trunk/src/main/java/org/apache/log4j/spi/RootLogger.java (original)
+++ logging/log4j/trunk/src/main/java/org/apache/log4j/spi/RootLogger.java Sun Oct 11 20:58:26
2009
@@ -17,7 +17,8 @@
 
 package org.apache.log4j.spi;
 
-import org.apache.log4j.*;
+import org.apache.log4j.Level;
+import org.apache.log4j.Logger;
 import org.apache.log4j.helpers.LogLog;
 
 



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


Mime
View raw message