Skip to content

Commit

Permalink
removed unused variables, imports, logger
Browse files Browse the repository at this point in the history
  • Loading branch information
grobmeier committed Oct 1, 2023
1 parent ccf496e commit 14902c1
Showing 1 changed file with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@
*/
package org.apache.log4j.chainsaw.components.logpanel;

import org.apache.commons.configuration2.AbstractConfiguration;
import org.apache.commons.configuration2.Configuration;
import org.apache.commons.configuration2.event.ConfigurationEvent;
import org.apache.log4j.chainsaw.AbstractPreferencePanel;
import org.apache.log4j.chainsaw.ApplicationPreferenceModel;
import org.apache.log4j.chainsaw.BasicPrefPanel;
import org.apache.log4j.chainsaw.CheckListCellRenderer;
import org.apache.log4j.chainsaw.JTextComponentFormatter;
import org.apache.log4j.chainsaw.ModifiableListModel;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.log4j.chainsaw.prefs.SettingsManager;

import javax.swing.*;
import javax.swing.tree.DefaultMutableTreeNode;
Expand All @@ -35,10 +37,6 @@
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.configuration2.AbstractConfiguration;
import org.apache.commons.configuration2.Configuration;
import org.apache.commons.configuration2.event.ConfigurationEvent;
import org.apache.log4j.chainsaw.prefs.SettingsManager;


/**
Expand All @@ -50,7 +48,6 @@ public class LogPanelPreferencePanel extends AbstractPreferencePanel {
//~ Instance fields =========================================================

private final ModifiableListModel columnListModel = new ModifiableListModel();
private static final Logger logger = LogManager.getLogger(LogPanelPreferencePanel.class);
private ApplicationPreferenceModel appPreferenceModel;
private final String m_panelIdentifier;

Expand Down Expand Up @@ -186,7 +183,6 @@ private class FormattingPanel extends BasicPrefPanel {
private final JTextField timeZone = new JTextField(10);
private final JRadioButton rdLevelIcons = new JRadioButton("Icons ");
private final JRadioButton rdLevelText = new JRadioButton("Text ");
private JRadioButton rdLast;

//~ Constructors ==========================================================

Expand All @@ -212,8 +208,6 @@ private void initComponents() {

ButtonGroup bgDateFormat = new ButtonGroup();

// rdISO.setSelected(preferenceModel.isUseISO8601Format());

rdISO.setHorizontalTextPosition(SwingConstants.RIGHT);
rdISO.setAlignmentX(Component.LEFT_ALIGNMENT);

Expand Down

0 comments on commit 14902c1

Please sign in to comment.