From 01bf9b6a5d324d45355659581e9ebbd1280834fe Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 25 Apr 2016 14:41:26 +0000
Subject: [PATCH] Improvements suggested by UCDetector: remove dead code, add final keywords, change visibilities

---
 opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/InclusionExclusionPanel.java |   27 ++++++++++++++-------------
 1 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/InclusionExclusionPanel.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/InclusionExclusionPanel.java
index f27f69f..ca50f25 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/InclusionExclusionPanel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/InclusionExclusionPanel.java
@@ -16,8 +16,9 @@
  */
 package org.opends.guitools.controlpanel.ui;
 
+import static com.forgerock.opendj.cli.Utils.*;
+
 import static org.opends.messages.AdminToolMessages.*;
-import static com.forgerock.opendj.cli.Utils.isDN;
 
 import java.awt.Component;
 import java.awt.GridBagConstraints;
@@ -52,30 +53,30 @@
 {
   private static final long serialVersionUID = -3826176895778069011L;
   /** The DNs to exclude. */
-  protected JTextArea dnsToExclude;
+  private JTextArea dnsToExclude;
   /** The attributes to exclude. */
-  protected JTextField attributesToExclude;
+  private JTextField attributesToExclude;
   /** The exclusion filter. */
-  protected JTextField exclusionFilter;
+  private JTextField exclusionFilter;
   /** The DNs to include. */
-  protected JTextArea dnsToInclude;
+  private JTextArea dnsToInclude;
   /** The attributes to include. */
-  protected JTextField attributesToInclude;
+  private JTextField attributesToInclude;
   /** The inclusion filter. */
-  protected JTextField inclusionFilter;
+  private JTextField inclusionFilter;
 
   /** The DNs to include. */
-  protected JLabel lDnsToInclude;
+  private JLabel lDnsToInclude;
   /** The attributes to include. */
-  protected JLabel lAttributesToInclude;
+  private JLabel lAttributesToInclude;
   /** The inclusion filter label. */
-  protected JLabel lInclusionFilter;
+  private JLabel lInclusionFilter;
   /** The DNs to exclude label. */
-  protected JLabel lDnsToExclude;
+  private JLabel lDnsToExclude;
   /** The attributes to exclude label. */
-  protected JLabel lAttributesToExclude;
+  private JLabel lAttributesToExclude;
   /** The exclusion filter label. */
-  protected JLabel lExclusionFilter;
+  private JLabel lExclusionFilter;
 
   @Override
   public void cancelClicked()

--
Gitblit v1.10.0