>>> +    private static <T> T coerceEnum(Object value, Class<? extends T> type) 
>>> {
>> 
>> Was there a reason you put this in a separate method? I imagined we'd just
>> inline it in the coerce method.
>> 
> I was thinking it might be useful in its own right & the logic is different
> enough from the primitives coercion.

Since the same functionality is available by calling coerce() directly, I think 
it would be best to simply inline it there.


Reply via email to