Cast hacky call to EnumSet.noneOf(), required by sensitive compilers?

This commit is contained in:
Ray J. Greenwell
2024-12-03 14:59:35 -08:00
parent 8c3e08d4d1
commit e1aeae5683
@@ -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;