mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-23 12:24:07 +00:00
squid:S2293 - The diamond operator should be used
This commit is contained in:
@@ -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