Apply suggestions from code review

Co-authored-by: Steve Ebersole <steve@hibernate.org>
This commit is contained in:
Gavin King 2022-12-20 21:31:22 +01:00
parent 72c2559d39
commit d30bf092aa
1 changed files with 2 additions and 1 deletions

View File

@ -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