mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-10 04:14:30 +00:00
squid:S2974 - Classes without public constructors should be final
This commit is contained in:
1 parent
33224dd7d7
commit
632174b6dc
14 files changed
+14
-14
No files matched your search
@@ -33,7 +33,7 @@ import java.text.ParseException;
|
||||
* CacheStore class.
|
||||
*
|
||||
*/
|
||||
public class AppManager {
|
||||
public final class AppManager {
|
||||
|
||||
private static CachingPolicy cachingPolicy;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ import com.mongodb.client.model.UpdateOptions;
|
||||
* during runtime (createVirtualDB()).</p>
|
||||
*
|
||||
*/
|
||||
public class DbManager {
|
||||
public final class DbManager {
|
||||
|
||||
private static MongoClient mongoClient;
|
||||
private static MongoDatabase db;
|
||||
|
||||
Reference in new issue
Block a user