mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 22:14:41 +00:00
squid:S2293 - The diamond operator should be used
This commit is contained in:
1 parent
1a55f3a420
commit
409ff027b8
13 files changed
+17
-17
No files matched your search
@@ -16,7 +16,7 @@ public class ServiceCache {
|
||||
private final Map<String, Service> serviceCache;
|
||||
|
||||
public ServiceCache() {
|
||||
serviceCache = new HashMap<String, Service>();
|
||||
serviceCache = new HashMap<>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user