Merge pull request #325 from DevFactory/utility-classes-should-not-have-public-constructors-fix-3
Utility classes should not have public constructors
This commit is contained in:
@ -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