You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/04/02 23:54:37 UTC

svn commit: r1088148 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/EnvironmentCache.java

Author: simonetripodi
Date: Sat Apr  2 21:54:37 2011
New Revision: 1088148

URL: http://svn.apache.org/viewvc?rev=1088148&view=rev
Log:
removed trailing spaces

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/EnvironmentCache.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/EnvironmentCache.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/EnvironmentCache.java?rev=1088148&r1=1088147&r2=1088148&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/EnvironmentCache.java (original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/EnvironmentCache.java Sat Apr  2 21:54:37 2011
@@ -24,21 +24,21 @@ import org.apache.commons.discovery.jdk.
 
 /**
  * Cache by a 'key' unique to the environment:
- * 
+ *
  * - ClassLoader::groupContext::Object Cache
  *         Cache : HashMap
  *         Key   : Thread Context Class Loader (<code>ClassLoader</code>)
  *         Value : groupContext::SPI Cache (<code>HashMap</code>)
- * 
+ *
  * //- groupContext::Object Cache
  * //         Cache : HashMap
  * //         Key   : groupContext (<code>String</code>)
  * //        Value : <code>Object</code>
- * 
+ *
  * When we 'release', it is expected that the caller of the 'release'
  * have the same thread context class loader... as that will be used
  * to identify cached entries to be released.
- * 
+ *
  * @author Richard A. Sitze
  */
 public class EnvironmentCache {
@@ -55,7 +55,7 @@ public class EnvironmentCache {
      * Initial hash size for SPI's, default just seem TO big today..
      */
     public static final int smallHashSize = 13;
-    
+
     /**
      * Get object keyed by classLoader.
      */
@@ -67,7 +67,7 @@ public class EnvironmentCache {
          */
         return root_cache.get(classLoader);
     }
-    
+
     /**
      * Put service keyed by spi & classLoader.
      */
@@ -84,7 +84,7 @@ public class EnvironmentCache {
 
 
     /********************** CACHE-MANAGEMENT SUPPORT **********************/
-    
+
     /**
      * Release all internal references to previously created service
      * instances associated with the current thread context class loader.
@@ -103,8 +103,8 @@ public class EnvironmentCache {
          */
         root_cache.remove(JDKHooks.getJDKHooks().getThreadContextClassLoader());
     }
-    
-    
+
+
     /**
      * Release any internal references to a previously created service
      * instance associated with the current thread context class loader.