code hint fixes

This commit is contained in:
2015-01-18 22:49:59 +01:00
parent ade56d45a2
commit e4e9676081
25 changed files with 136 additions and 147 deletions
+5 -1
View File
@@ -54,7 +54,11 @@ public class ChromeCache implements CacheImplementation {
public static ChromeCache getInstance() {
if (instance == null) {
instance = new ChromeCache();
synchronized (ChromeCache.class) {
if (instance == null) {
instance = new ChromeCache();
}
}
}
return instance;
}
+5 -1
View File
@@ -40,7 +40,11 @@ public class FirefoxCache implements CacheImplementation {
public static FirefoxCache getInstance() {
if (instance == null) {
instance = new FirefoxCache();
synchronized (FirefoxCache.class) {
if (instance == null) {
instance = new FirefoxCache();
}
}
}
return instance;
}