lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From busc...@apache.org
Subject svn commit: r659875 - /lucene/java/trunk/src/java/org/apache/lucene/util/cache/Cache.java
Date Sat, 24 May 2008 21:07:49 GMT
Author: buschmi
Date: Sat May 24 14:07:48 2008
New Revision: 659875

URL: http://svn.apache.org/viewvc?rev=659875&view=rev
Log:
Add missing javadoc to Cache.synchronizedCache().

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/util/cache/Cache.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/cache/Cache.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/cache/Cache.java?rev=659875&r1=659874&r2=659875&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/cache/Cache.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/cache/Cache.java Sat May 24 14:07:48
2008
@@ -62,6 +62,11 @@
     }
   }
   
+  /**
+   * Returns a thread-safe cache backed by the specified cache. 
+   * In order to guarantee thread-safety, all access to the backed cache must
+   * be accomplished through the returned cache.
+   */
   public static Cache synchronizedCache(Cache cache) {
     return cache.getSynchronizedCache();
   }



Mime
View raw message