add missing @Override annotations
Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
parent
633f1012e1
commit
eb6f7a0774
|
@ -26,10 +26,12 @@ public class ClassJavaType extends AbstractClassJavaType<Class<?>> {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String toString(Class<?> value) {
|
public String toString(Class<?> value) {
|
||||||
return value.getName();
|
return value.getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Class<?> fromString(CharSequence string) {
|
public Class<?> fromString(CharSequence string) {
|
||||||
if ( string == null ) {
|
if ( string == null ) {
|
||||||
return null;
|
return null;
|
||||||
|
@ -43,6 +45,7 @@ public class ClassJavaType extends AbstractClassJavaType<Class<?>> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public <X> X unwrap(Class<?> value, Class<X> type, WrapperOptions options) {
|
public <X> X unwrap(Class<?> value, Class<X> type, WrapperOptions options) {
|
||||||
if ( value == null ) {
|
if ( value == null ) {
|
||||||
|
@ -57,6 +60,7 @@ public class ClassJavaType extends AbstractClassJavaType<Class<?>> {
|
||||||
throw unknownUnwrap( type );
|
throw unknownUnwrap( type );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public <X> Class<?> wrap(X value, WrapperOptions options) {
|
public <X> Class<?> wrap(X value, WrapperOptions options) {
|
||||||
if ( value == null ) {
|
if ( value == null ) {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue