groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [4/6] groovy git commit: Add `@since` to the javadoc of EvictableCache and SimpleCache
Date Sat, 09 Dec 2017 14:07:32 GMT
Add `@since` to the javadoc of EvictableCache and SimpleCache

(cherry picked from commit ba570df)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/4de00efa
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/4de00efa
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/4de00efa

Branch: refs/heads/GROOVY_2_6_X
Commit: 4de00efa2b30833c6a7de19f8b88d8278e96b978
Parents: c43773a
Author: sunlan <sunlan@apache.org>
Authored: Sat Dec 9 21:28:30 2017 +0800
Committer: sunlan <sunlan@apache.org>
Committed: Sat Dec 9 22:06:54 2017 +0800

----------------------------------------------------------------------
 src/main/org/codehaus/groovy/runtime/memoize/EvictableCache.java | 2 ++
 src/main/org/codehaus/groovy/runtime/memoize/SimpleCache.java    | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/4de00efa/src/main/org/codehaus/groovy/runtime/memoize/EvictableCache.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/runtime/memoize/EvictableCache.java b/src/main/org/codehaus/groovy/runtime/memoize/EvictableCache.java
index 369d525..a882947 100644
--- a/src/main/org/codehaus/groovy/runtime/memoize/EvictableCache.java
+++ b/src/main/org/codehaus/groovy/runtime/memoize/EvictableCache.java
@@ -24,6 +24,8 @@ import java.util.Collection;
  * Represents an evictable memoize cache with its essential methods
  * @param <K> type of the keys
  * @param <V> type of the values
+ *
+ * @since 2.5.0
  */
 public interface EvictableCache<K, V> extends MemoizeCache<K, V> {
     /**

http://git-wip-us.apache.org/repos/asf/groovy/blob/4de00efa/src/main/org/codehaus/groovy/runtime/memoize/SimpleCache.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/runtime/memoize/SimpleCache.java b/src/main/org/codehaus/groovy/runtime/memoize/SimpleCache.java
index b789067..1aec2b5 100644
--- a/src/main/org/codehaus/groovy/runtime/memoize/SimpleCache.java
+++ b/src/main/org/codehaus/groovy/runtime/memoize/SimpleCache.java
@@ -31,6 +31,8 @@ import java.util.concurrent.locks.ReentrantReadWriteLock;
  *
  * @param <K> type of the keys
  * @param <V> type of the values
+ *
+ * @since 2.5.0
  */
 public class SimpleCache<K, V> implements EvictableCache<K, V> {
     private final Map<K, V> map = new HashMap<>();


Mime
View raw message