Merge pull request #1420 from cal101/jdt-UseDiamondOperatorCleanUp

[cleanup] erefactor/EclipseJdt - Use diamond operator
This commit is contained in:
Golden Looly
2021-02-20 10:03:51 +08:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -103,7 +103,7 @@ public class HashCodeBuilder implements Builder<Integer> {
*
* @since 2.3
*/
private static final ThreadLocal<Set<IDKey>> REGISTRY = new ThreadLocal<Set<IDKey>>();
private static final ThreadLocal<Set<IDKey>> REGISTRY = new ThreadLocal<>();
/*
* NOTE: we cannot store the actual objects in a HashSet, as that would use the very hashCode()