summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/utils/ObjectCache.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-06-24 09:36:19 -0400
committerJames Moger <james.moger@gitblit.com>2013-06-24 09:36:19 -0400
commit79dd0bddbd939c85f002f3a33b95ae84d0bf38cb (patch)
treeb72b140a2af157ed878178ba7022c2eacae12a67 /src/main/java/com/gitblit/utils/ObjectCache.java
parent03232453be7624bc2fc8a942e8c280353606fe8b (diff)
downloadgitblit-79dd0bddbd939c85f002f3a33b95ae84d0bf38cb.tar.gz
gitblit-79dd0bddbd939c85f002f3a33b95ae84d0bf38cb.zip
Implemented commit cache for the dashboards, activity, and project pages
Diffstat (limited to 'src/main/java/com/gitblit/utils/ObjectCache.java')
-rw-r--r--src/main/java/com/gitblit/utils/ObjectCache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/utils/ObjectCache.java b/src/main/java/com/gitblit/utils/ObjectCache.java
index 38f2e59a..692669f4 100644
--- a/src/main/java/com/gitblit/utils/ObjectCache.java
+++ b/src/main/java/com/gitblit/utils/ObjectCache.java
@@ -85,7 +85,7 @@ public class ObjectCache<X> implements Serializable {
obj.object = object;
}
- public Object remove(String name) {
+ public X remove(String name) {
if (cache.containsKey(name)) {
return cache.remove(name).object;
}