提交 6aecb37b 编写于 作者: A Abhijay Kumar

Removing unused generic variable - code smell

上级 57c1967b
......@@ -63,7 +63,6 @@ public class LRUCache<T> {
System.out.println("Cache set to 0 capacity. No elements will be cached");
}
T currentValue = cache.get(key);
if (!cache.containsKey(key)) {
cache.put(key, value);
System.out.println("Adding new key:" + key + " to cache");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册