shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r927572 - /incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/SoftHashMap.java
Date Thu, 25 Mar 2010 20:00:06 GMT
Author: lhazlewood
Date: Thu Mar 25 20:00:06 2010
New Revision: 927572

URL: http://svn.apache.org/viewvc?rev=927572&view=rev
Log:
Minor typo and comment fix.

Modified:
    incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/SoftHashMap.java

Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/SoftHashMap.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/SoftHashMap.java?rev=927572&r1=927571&r2=927572&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/SoftHashMap.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/SoftHashMap.java Thu Mar
25 20:00:06 2010
@@ -37,10 +37,10 @@ import java.util.concurrent.locks.Reentr
  * references to all of its values.
  * <p/>
  * This class is a generics-enabled Map based on initial ideas from Heinz Kabutz's and Sydney
Redelinghuys's
- * <a href="http://www.javaspecialists.eu/archive/Issue015.html">publicly posted version</a>,
with continued
- * modifications.
+ * <a href="http://www.javaspecialists.eu/archive/Issue015.html">publicly posted version
(with their approval)</a>, with
+ * continued modifications.
  * <p/>
- * This implementation is thread-safe and usuable in highly concurrent environments.
+ * This implementation is thread-safe and usable in concurrent environments.
  *
  * @author Les Hazlewood
  * @since 1.0
@@ -175,6 +175,7 @@ public class SoftHashMap<K, V> implement
     }
 
     //Guarded by the strongReferencesLock in the addToStrongReferences method
+
     private void trimStrongReferencesIfNecessary() {
         //trim the strong ref queue if necessary:
         while (strongReferences.size() > RETENTION_SIZE) {



Mime
View raw message