final fields

This commit is contained in:
Honfika
2014-01-19 22:33:23 +01:00
parent 44fa394f01
commit 0da9d423a0
138 changed files with 294 additions and 296 deletions
+3 -3
View File
@@ -36,9 +36,9 @@ import java.util.logging.Logger;
*/
public class Cache {
private Map<Object, File> cacheFiles;
private Map<Object, Object> cacheMemory;
private static List<Cache> instances = new ArrayList<>();
private final Map<Object, File> cacheFiles;
private final Map<Object, Object> cacheMemory;
private static final List<Cache> instances = new ArrayList<>();
public static final int STORAGE_FILES = 1;
public static final int STORAGE_MEMORY = 2;