From 61b9eb1be03fc03a9f4bb0013a08ff44a1059503 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Apr 2016 14:25:46 +0000
Subject: [PATCH] opendj-server-legacy: added @Override + Autorefactor'ed comments

---
 opendj-server-legacy/src/main/java/org/opends/server/extensions/DictionaryPasswordValidator.java |   28 +---------------------------
 1 files changed, 1 insertions(+), 27 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/extensions/DictionaryPasswordValidator.java b/opendj-server-legacy/src/main/java/org/opends/server/extensions/DictionaryPasswordValidator.java
index 8e3122b..1031f49 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/extensions/DictionaryPasswordValidator.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/extensions/DictionaryPasswordValidator.java
@@ -55,11 +55,7 @@
   /** The current dictionary that we should use when performing the validation. */
   private HashSet<String> dictionary;
 
-
-
-  /**
-   * Creates a new instance of this dictionary password validator.
-   */
+  /** Creates a new instance of this dictionary password validator. */
   public DictionaryPasswordValidator()
   {
     super();
@@ -68,9 +64,6 @@
     // performed in the initializePasswordValidator() method.
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public void initializePasswordValidator(
                    DictionaryPasswordValidatorCfg configuration)
@@ -82,18 +75,12 @@
     dictionary = loadDictionary(configuration);
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public void finalizePasswordValidator()
   {
     currentConfig.removeDictionaryChangeListener(this);
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public boolean passwordIsAcceptable(ByteString newPassword,
                                       Set<ByteString> currentPasswords,
@@ -142,13 +129,10 @@
       return false;
     }
 
-
     // If we've gotten here, then the password is acceptable.
     return true;
   }
 
-
-
   /**
    * Loads the configured dictionary and returns it as a hash set.
    *
@@ -174,7 +158,6 @@
       throw new ConfigException(message);
     }
 
-
     // Read the contents of file into the dictionary as per the configuration.
     BufferedReader reader = null;
     HashSet<String> dictionary = new HashSet<>();
@@ -208,9 +191,6 @@
     return dictionary;
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public boolean isConfigurationAcceptable(PasswordValidatorCfg configuration,
                                            List<LocalizableMessage> unacceptableReasons)
@@ -220,9 +200,6 @@
     return isConfigurationChangeAcceptable(config, unacceptableReasons);
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public boolean isConfigurationChangeAcceptable(
                       DictionaryPasswordValidatorCfg configuration,
@@ -248,9 +225,6 @@
     return true;
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public ConfigChangeResult applyConfigurationChange(
                       DictionaryPasswordValidatorCfg configuration)

--
Gitblit v1.10.0