Cast hacky call to EnumSet.noneOf(), required by sensitive compilers?
This commit is contained in:
@@ -263,7 +263,7 @@ public class Transformers
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
Class<Enum> eclazz = (Class<Enum>)elementType;
|
||||
@SuppressWarnings("unchecked")
|
||||
Set<E> eSet = EnumSet.noneOf(eclazz);
|
||||
Set<E> eSet = (Set<E>)EnumSet.noneOf(eclazz);
|
||||
set = eSet;
|
||||
}
|
||||
adder = set;
|
||||
|
||||
Reference in New Issue
Block a user