This pattern: 122 for (FormatCase e : EnumSet.allOf(FormatCase.class)) is more simply written as 122 for (FormatCase e : FormatCase.values()) -- Jon