From 86942bf8d0b34473e0a2205e6969e18bce03d472 Mon Sep 17 00:00:00 2001
From: Yannick Lecaillez <yannick.lecaillez@forgerock.com>
Date: Tue, 19 May 2015 13:41:16 +0000
Subject: [PATCH] Cleanup: white-spaces

---
 opendj-sdk/opendj-server-legacy/src/main/java/org/opends/server/api/EntryCache.java |   60 ++----------------------------------------------------------
 1 files changed, 2 insertions(+), 58 deletions(-)

diff --git a/opendj-sdk/opendj-server-legacy/src/main/java/org/opends/server/api/EntryCache.java b/opendj-sdk/opendj-server-legacy/src/main/java/org/opends/server/api/EntryCache.java
index 122f63c..537e0ee 100644
--- a/opendj-sdk/opendj-server-legacy/src/main/java/org/opends/server/api/EntryCache.java
+++ b/opendj-sdk/opendj-server-legacy/src/main/java/org/opends/server/api/EntryCache.java
@@ -26,7 +26,6 @@
  */
 package org.opends.server.api;
 
-import java.util.ArrayList;
 import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
@@ -74,8 +73,7 @@
      mayExtend=true,
      mayInvoke=true,
      notes="Entry cache methods may only be invoked by backends")
-public abstract class EntryCache
-       <T extends EntryCacheCfg>
+public abstract class EntryCache<T extends EntryCacheCfg>
 {
   private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
 
@@ -114,8 +112,6 @@
     // No implementation required.
   }
 
-
-
   /**
    * Initializes this entry cache implementation so that it will be
    * available for storing and retrieving entries.
@@ -135,8 +131,6 @@
   public abstract void initializeEntryCache(T configuration)
          throws ConfigException, InitializationException;
 
-
-
   /**
    * Indicates whether the provided configuration is acceptable for
    * this entry cache.  It should be possible to call this method on
@@ -167,8 +161,6 @@
     return true;
   }
 
-
-
   /**
    * Performs any necessary cleanup work (e.g., flushing all cached
    * entries and releasing any other held resources) that should be
@@ -177,8 +169,6 @@
    */
   public abstract void finalizeEntryCache();
 
-
-
   /**
    * Indicates whether the entry cache currently contains the entry
    * with the specified DN.  This method may be called without holding
@@ -193,8 +183,6 @@
    */
   public abstract boolean containsEntry(DN entryDN);
 
-
-
   /**
    * Retrieves the entry with the specified DN from the cache.
    *
@@ -205,8 +193,6 @@
    */
   public abstract Entry getEntry(DN entryDN);
 
-
-
   /**
    * Retrieves the requested entry if it is present in the cache.
    *
@@ -232,8 +218,6 @@
     return getEntry(entryDN);
   }
 
-
-
   /**
    * Retrieves the entry ID for the entry with the specified DN from
    * the cache.  The caller should have already acquired a read or
@@ -247,8 +231,6 @@
    */
   public abstract long getEntryID(DN entryDN);
 
-
-
   /**
    * Retrieves the entry DN for the entry with the specified ID on
    * the specific backend from the cache.  The caller should have
@@ -267,8 +249,6 @@
    */
   public abstract DN getEntryDN(Backend backend, long entryID);
 
-
-
   /**
    * Stores the provided entry in the cache.  Note that the mechanism
    * that it uses to achieve this is implementation-dependent, and it
@@ -283,8 +263,6 @@
   public abstract void putEntry(Entry entry, Backend backend,
                                 long entryID);
 
-
-
   /**
    * Stores the provided entry in the cache only if it does not
    * conflict with an entry that already exists.  Note that the
@@ -308,8 +286,6 @@
                                            Backend backend,
                                            long entryID);
 
-
-
   /**
    * Removes the specified entry from the cache.
    *
@@ -317,16 +293,12 @@
    */
   public abstract void removeEntry(DN entryDN);
 
-
-
   /**
    * Removes all entries from the cache.  The cache should still be
    * available for future use.
    */
   public abstract void clear();
 
-
-
   /**
    * Removes all entries from the cache that are associated with the
    * provided backend.
@@ -336,8 +308,6 @@
    */
   public abstract void clearBackend(Backend backend);
 
-
-
   /**
    * Removes all entries from the cache that are below the provided
    * DN.
@@ -347,8 +317,6 @@
    */
   public abstract void clearSubtree(DN baseDN);
 
-
-
   /**
    * Attempts to react to a scenario in which it is determined that
    * the system is running low on available memory.  In this case, the
@@ -357,8 +325,6 @@
    */
   public abstract void handleLowMemory();
 
-
-
   /**
    * Retrieves the monitor that is associated with this entry
    * cache.
@@ -371,8 +337,6 @@
     return entryCacheMonitor;
   }
 
-
-
   /**
    * Sets the monitor for this entry cache.
    *
@@ -384,8 +348,6 @@
     this.entryCacheMonitor = entryCacheMonitor;
   }
 
-
-
   /**
    * Retrieves a set of attributes containing monitor data that should
    * be returned to the client if the corresponding monitor entry is
@@ -397,8 +359,6 @@
    */
   public abstract List<Attribute> getMonitorData();
 
-
-
   /**
    * Retrieves the current number of entries stored within the cache.
    *
@@ -406,8 +366,6 @@
    */
   public abstract Long getCacheCount();
 
-
-
   /**
    * Retrieves the current number of cache hits for this cache.
    *
@@ -418,8 +376,6 @@
     return cacheHits.longValue();
   }
 
-
-
   /**
    * Retrieves the current number of cache misses for this cache.
    *
@@ -430,8 +386,6 @@
     return cacheMisses.longValue();
   }
 
-
-
   /**
    * Retrieves the set of search filters that may be used to determine
    * whether an entry should be excluded from the cache.
@@ -444,8 +398,6 @@
     return excludeFilters;
   }
 
-
-
   /**
    * Specifies the set of search filters that may be used to determine
    * whether an entry should be excluded from the cache.
@@ -466,8 +418,6 @@
     }
   }
 
-
-
   /**
    * Retrieves the set of search filters that may be used to determine
    * whether an entry should be included in the cache.
@@ -480,8 +430,6 @@
     return includeFilters;
   }
 
-
-
   /**
    * Specifies the set of search filters that may be used to determine
    * whether an entry should be included in the cache.
@@ -502,8 +450,6 @@
     }
   }
 
-
-
   /**
    * Indicates whether the current set of exclude and include filters
    * allow caching of the specified entry.
@@ -573,9 +519,7 @@
 
     return true;
   }
-
-
-
+  
   /**
    * Return a verbose string representation of the current cache maps. This is
    * useful primary for debugging and diagnostic purposes such as in the entry

--
Gitblit v1.10.0