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/plugins/AttributeCleanupPlugin.java |   45 +++++++++------------------------------------
 1 files changed, 9 insertions(+), 36 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/plugins/AttributeCleanupPlugin.java b/opendj-server-legacy/src/main/java/org/opends/server/plugins/AttributeCleanupPlugin.java
index a88a393..7c4892a 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/plugins/AttributeCleanupPlugin.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/plugins/AttributeCleanupPlugin.java
@@ -57,24 +57,16 @@
     ConfigurationChangeListener<AttributeCleanupPluginCfg>
 {
 
-  /**
-   * Plugin configuration.
-   */
+  /** Plugin configuration. */
   private AttributeCleanupPluginCfg config;
 
-  /**
-   * Debug tracer.
-   */
+  /** Debug tracer. */
   private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
 
-  /**
-   * A table of attributes to be renamed.
-   */
+  /** A table of attributes to be renamed. */
   private Map<String, String> attributesToRename;
 
-  /**
-   * The set of attributes to be removed.
-   */
+  /** The set of attributes to be removed. */
   private Set<String> attributesToRemove;
 
   /**
@@ -87,9 +79,7 @@
 
 
 
-  /**
-   * Default constructor.
-   */
+  /** Default constructor. */
   public AttributeCleanupPlugin()
   {
     super();
@@ -97,7 +87,6 @@
 
 
 
-  /** {@inheritDoc} */
   @Override
   public ConfigChangeResult applyConfigurationChange(
       final AttributeCleanupPluginCfg config)
@@ -134,7 +123,6 @@
 
 
 
-  /** {@inheritDoc} */
   @Override
   public PluginResult.PreParse doPreParse(
       final PreParseAddOperation addOperation)
@@ -142,9 +130,7 @@
     sharedLock.lock();
     try
     {
-      /*
-       * First strip the listed attributes, then rename the ones that remain.
-       */
+      /* First strip the listed attributes, then rename the ones that remain. */
       processInboundRemove(addOperation);
       processInboundRename(addOperation);
 
@@ -158,7 +144,6 @@
 
 
 
-  /** {@inheritDoc} */
   @Override
   public PluginResult.PreParse doPreParse(
       final PreParseModifyOperation modifyOperation)
@@ -166,9 +151,7 @@
     sharedLock.lock();
     try
     {
-      /*
-       * First strip the listed attributes, then rename the ones that remain.
-       */
+      /* First strip the listed attributes, then rename the ones that remain. */
       processInboundRemove(modifyOperation);
       processInboundRename(modifyOperation);
 
@@ -196,7 +179,6 @@
 
 
 
-  /** {@inheritDoc} */
   @Override
   public void finalizePlugin()
   {
@@ -218,16 +200,12 @@
 
 
 
-  /** {@inheritDoc} */
   @Override
   public void initializePlugin(final Set<PluginType> pluginTypes,
       final AttributeCleanupPluginCfg configuration) throws ConfigException,
       InitializationException
   {
-    /*
-     * The plugin should be invoked only for pre-parse ADD and MODIFY
-     * operations.
-     */
+    /* The plugin should be invoked only for pre-parse ADD and MODIFY operations. */
     for (final PluginType t : pluginTypes)
     {
       switch (t)
@@ -257,7 +235,6 @@
 
 
 
-  /** {@inheritDoc} */
   @Override
   public boolean isConfigurationAcceptable(final PluginCfg configuration,
       final List<LocalizableMessage> unacceptableReasons)
@@ -269,15 +246,11 @@
 
 
 
-  /** {@inheritDoc} */
   @Override
   public boolean isConfigurationChangeAcceptable(
       final AttributeCleanupPluginCfg config, final List<LocalizableMessage> messages)
   {
-    /*
-     * The admin framework will ensure that there are no duplicate attributes to
-     * be removed.
-     */
+    /* The admin framework will ensure that there are no duplicate attributes to be removed. */
     boolean isValid = true;
 
     /*

--
Gitblit v1.10.0