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/DefaultEntryCache.java |   32 +-------------------------------
 1 files changed, 1 insertions(+), 31 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/extensions/DefaultEntryCache.java b/opendj-server-legacy/src/main/java/org/opends/server/extensions/DefaultEntryCache.java
index f8388cf..297c7f9 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/extensions/DefaultEntryCache.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/extensions/DefaultEntryCache.java
@@ -49,7 +49,6 @@
 {
   private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
 
-
   /**
    * The entry cache order array reflects all currently configured and
    * active entry cache implementations in cache level specific order.
@@ -57,10 +56,7 @@
   private static EntryCache<? extends EntryCacheCfg>[] cacheOrder =
     new EntryCache<?>[0];
 
-
-  /**
-   * Creates a new instance of this default entry cache.
-   */
+  /** Creates a new instance of this default entry cache. */
   public DefaultEntryCache()
   {
     super();
@@ -70,7 +66,6 @@
     DirectoryServer.registerBackendInitializationListener(this);
   }
 
-  /** {@inheritDoc} */
   @Override
   public void initializeEntryCache(EntryCacheCfg configEntry)
          throws ConfigException, InitializationException
@@ -78,7 +73,6 @@
     // No implementation required.
   }
 
-  /** {@inheritDoc} */
   @Override
   public void finalizeEntryCache()
   {
@@ -89,7 +83,6 @@
     cacheOrder = new EntryCache<?>[0];
   }
 
-  /** {@inheritDoc} */
   @Override
   public boolean containsEntry(DN entryDN)
   {
@@ -106,7 +99,6 @@
     return false;
   }
 
-  /** {@inheritDoc} */
   @Override
   public Entry getEntry(String backendID, long entryID)
   {
@@ -127,7 +119,6 @@
     return null;
   }
 
-  /** {@inheritDoc} */
   @Override
   public Entry getEntry(DN entryDN)
   {
@@ -148,7 +139,6 @@
     return null;
   }
 
-  /** {@inheritDoc} */
   @Override
   public long getEntryID(DN entryDN)
   {
@@ -163,7 +153,6 @@
     return -1;
   }
 
-  /** {@inheritDoc} */
   @Override
   public DN getEntryDN(String backendID, long entryID)
   {
@@ -178,7 +167,6 @@
     return null;
   }
 
-  /** {@inheritDoc} */
   @Override
   public void putEntry(Entry entry, String backendID, long entryID)
   {
@@ -192,7 +180,6 @@
     }
   }
 
-  /** {@inheritDoc} */
   @Override
   public boolean putEntryIfAbsent(Entry entry, String backendID, long entryID)
   {
@@ -208,7 +195,6 @@
     return false;
   }
 
-  /** {@inheritDoc} */
   @Override
   public void removeEntry(DN entryDN)
   {
@@ -220,7 +206,6 @@
     }
   }
 
-  /** {@inheritDoc} */
   @Override
   public void clear()
   {
@@ -229,7 +214,6 @@
     }
   }
 
-  /** {@inheritDoc} */
   @Override
   public void clearBackend(String backendID)
   {
@@ -238,7 +222,6 @@
     }
   }
 
-  /** {@inheritDoc} */
   @Override
   public void clearSubtree(DN baseDN)
   {
@@ -247,7 +230,6 @@
     }
   }
 
-  /** {@inheritDoc} */
   @Override
   public void handleLowMemory()
   {
@@ -256,7 +238,6 @@
     }
   }
 
-  /** {@inheritDoc} */
   @Override
   public boolean isConfigurationChangeAcceptable(
       EntryCacheCfg configuration,
@@ -267,7 +248,6 @@
     return true;
   }
 
-  /** {@inheritDoc} */
   @Override
   public ConfigChangeResult applyConfigurationChange(EntryCacheCfg configuration)
   {
@@ -306,7 +286,6 @@
     }
   }
 
-  /** {@inheritDoc} */
   @Override
   public Long getCacheCount()
   {
@@ -317,7 +296,6 @@
     return cacheCount;
   }
 
-  /** {@inheritDoc} */
   @Override
   public String toVerboseString()
   {
@@ -334,8 +312,6 @@
     return verboseString.length() > 0 ? verboseString : null;
   }
 
-
-
   /**
    * Retrieves the current cache order array.
    *
@@ -346,8 +322,6 @@
     return DefaultEntryCache.cacheOrder;
   }
 
-
-
   /**
    * Sets the current cache order array.
    *
@@ -361,8 +335,6 @@
       cacheOrderMap.values().toArray(new EntryCache<?>[0]);
   }
 
-
-
   /**
    * Performs any processing that may be required whenever a backend
    * is initialized for use in the Directory Server.  This method will
@@ -378,8 +350,6 @@
     // Do nothing.
   }
 
-
-
   /**
    * Performs any processing that may be required whenever a backend
    * is finalized.  This method will be invoked after the backend has

--
Gitblit v1.10.0