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

@@ -82,7 +82,7 @@ public abstract class StatementCreatorUtils {
static final boolean shouldIgnoreGetParameterType = SpringProperties.getFlag(IGNORE_GETPARAMETERTYPE_PROPERTY_NAME);
static final Set<String> driversWithNoSupportForGetParameterType =
Collections.newSetFromMap(new ConcurrentHashMap<String, Boolean>(1));
Collections.newSetFromMap(new ConcurrentHashMap<>(1));
private static final Log logger = LogFactory.getLog(StatementCreatorUtils.class);