imports & code formatting 1

This commit is contained in:
honfika
2014-08-24 21:22:59 +02:00
parent 226eb3e7a6
commit bd0e1c7f33
43 changed files with 113 additions and 118 deletions

View File

@@ -90,14 +90,14 @@ public class Cache<E> {
}
public boolean contains(Object key) {
if (storageType == STORAGE_FILES) {
if (storageType == STORAGE_FILES) {
return cacheFiles.containsKey(key);
} else if (storageType == STORAGE_MEMORY) {
return cacheMemory.containsKey(key);
}
return false;
}
public void clear() {
cacheMemory.clear();
for (File f : cacheFiles.values()) {