Apply suggestions from code review
Co-authored-by: Steve Ebersole <steve@hibernate.org>
This commit is contained in:
parent
72c2559d39
commit
d30bf092aa
|
@ -54,7 +54,8 @@ public class EnumJavaType<T extends Enum<T>> extends AbstractClassJavaType<T> {
|
|||
}
|
||||
|
||||
public boolean hasManyValues() {
|
||||
return getJavaTypeClass().getEnumConstants().length > 128; // a bit arbitrary, but gives us some headroom
|
||||
// a bit arbitrary, but gives us some headroom
|
||||
return getJavaTypeClass().getEnumConstants().length > 128;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue