mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 04:15:07 +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
@@ -28,7 +28,7 @@ package com.iluwatar.servicelocator;
|
||||
*
|
||||
* @author saifasif
|
||||
*/
|
||||
public class ServiceLocator {
|
||||
public final class ServiceLocator {
|
||||
|
||||
private static ServiceCache serviceCache = new ServiceCache();
|
||||
|
||||
|
||||
Reference in new issue
Block a user