Inferred generics for newSetFromMap arrangements

Issue: SPR-13188
This commit is contained in:
Juergen Hoeller
2016-07-26 21:26:31 +02:00
parent e03dea1d64
commit b9ab895743
14 changed files with 24 additions and 37 deletions

View File

@@ -38,11 +38,9 @@ public abstract class DecoratingClassLoader extends ClassLoader {
}
private final Set<String> excludedPackages =
Collections.newSetFromMap(new ConcurrentHashMap<String, Boolean>(8));
private final Set<String> excludedPackages = Collections.newSetFromMap(new ConcurrentHashMap<>(8));
private final Set<String> excludedClasses =
Collections.newSetFromMap(new ConcurrentHashMap<String, Boolean>(8));
private final Set<String> excludedClasses = Collections.newSetFromMap(new ConcurrentHashMap<>(8));
/**