Skip to content

Commit eb6f7a0

Browse files
committed
add missing @OverRide annotations
Signed-off-by: Gavin King <[email protected]>
1 parent 633f101 commit eb6f7a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClassJavaType.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ public boolean useObjectEqualsHashCode() {
2626
return true;
2727
}
2828

29+
@Override
2930
public String toString(Class<?> value) {
3031
return value.getName();
3132
}
3233

34+
@Override
3335
public Class<?> fromString(CharSequence string) {
3436
if ( string == null ) {
3537
return null;
@@ -43,6 +45,7 @@ public Class<?> fromString(CharSequence string) {
4345
}
4446
}
4547

48+
@Override
4649
@SuppressWarnings("unchecked")
4750
public <X> X unwrap(Class<?> value, Class<X> type, WrapperOptions options) {
4851
if ( value == null ) {
@@ -57,6 +60,7 @@ public <X> X unwrap(Class<?> value, Class<X> type, WrapperOptions options) {
5760
throw unknownUnwrap( type );
5861
}
5962

63+
@Override
6064
public <X> Class<?> wrap(X value, WrapperOptions options) {
6165
if ( value == null ) {
6266
return null;

0 commit comments

Comments
 (0)