src/main/java/com/gitblit/utils/ObjectCache.java
@@ -25,9 +25,9 @@ * milliseconds and in fast, concurrent systems this cache is too simplistic. * However, for the cases where its being used in Gitblit this cache technique * is just fine. * * * @author James Moger * * */ public class ObjectCache<X> implements Serializable { @@ -52,6 +52,10 @@ public String toString() { return getClass().getSimpleName() + ": " + name; } } public void clear() { cache.clear(); } public boolean hasCurrent(String name, Date date) { @@ -91,7 +95,7 @@ } return null; } public int size() { return cache.size(); }