James Moger
2013-11-18 11642275bab78a22da2f85ed06eb2246f8444f4f
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 {
@@ -85,13 +85,13 @@
      obj.object = object;
   }
   public Object remove(String name) {
   public X remove(String name) {
      if (cache.containsKey(name)) {
         return cache.remove(name).object;
      }
      return null;
   }
   public int size() {
      return cache.size();
   }