mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-04 18:13:32 +00:00
Fixing squid:S1118 - Utility classes should not have public constructors
This commit is contained in:
1 parent
3d8c64d76d
commit
c8a750df49
7 files changed
+21
No files matched your search
@@ -15,6 +15,9 @@ public class AppManager {
|
||||
|
||||
private static CachingPolicy cachingPolicy;
|
||||
|
||||
private AppManager() {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Developer/Tester is able to choose whether the application should use MongoDB as its underlying
|
||||
|
||||
@@ -11,6 +11,9 @@ public class CacheStore {
|
||||
|
||||
static LruCache cache = null;
|
||||
|
||||
private CacheStore() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Init cache capacity
|
||||
*/
|
||||
|
||||
@@ -29,6 +29,9 @@ public class DbManager {
|
||||
|
||||
private static HashMap<String, UserAccount> virtualDB;
|
||||
|
||||
private DbManager() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create DB
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user