pmd:RedundantFieldInitializer - Redundant-Field-Initializer

This commit is contained in:
Mohammed Ezzat
2016-02-18 08:40:19 +02:00
parent 57be8aa522
commit 0003c6cb00
12 changed files with 15 additions and 15 deletions

View File

@ -31,7 +31,7 @@ import java.util.ArrayList;
*/
public class CacheStore {
static LruCache cache = null;
static LruCache cache;
private CacheStore() {
}

View File

@ -50,8 +50,8 @@ public class LruCache {
int capacity;
HashMap<String, Node> cache = new HashMap<>();
Node head = null;
Node end = null;
Node head;
Node end;
public LruCache(int capacity) {
this.capacity = capacity;