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

@@ -129,7 +129,7 @@ public abstract class AbstractAutoProxyCreator extends ProxyProcessorSupport
private BeanFactory beanFactory;
private final Set<String> targetSourcedBeans =
Collections.newSetFromMap(new ConcurrentHashMap<String, Boolean>(16));
Collections.newSetFromMap(new ConcurrentHashMap<>(16));
private final Set<Object> earlyProxyReferences =
Collections.newSetFromMap(new ConcurrentHashMap<>(16));