clean up obsolete imports and warning suppressions
This commit is contained in:
parent
5089df2036
commit
72c2559d39
|
@ -14,9 +14,6 @@
|
|||
|
||||
package org.hibernate.boot.model;
|
||||
|
||||
import org.hibernate.query.sqm.function.SqmFunctionRegistry;
|
||||
import org.hibernate.service.ServiceRegistry;
|
||||
|
||||
/**
|
||||
* Contract for contributing functions
|
||||
*
|
||||
|
|
|
@ -1077,19 +1077,16 @@ public class QuerySqmImpl<R>
|
|||
|
||||
@Override
|
||||
public List<R> list() {
|
||||
//noinspection unchecked
|
||||
return super.list();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ScrollableResultsImplementor<R> scroll() {
|
||||
//noinspection unchecked
|
||||
return super.scroll();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ScrollableResultsImplementor<R> scroll(ScrollMode scrollMode) {
|
||||
//noinspection unchecked
|
||||
return super.scroll( scrollMode );
|
||||
}
|
||||
|
||||
|
@ -1101,19 +1098,16 @@ public class QuerySqmImpl<R>
|
|||
|
||||
@Override
|
||||
public R uniqueResult() {
|
||||
//noinspection unchecked
|
||||
return (R) super.uniqueResult();
|
||||
return super.uniqueResult();
|
||||
}
|
||||
|
||||
@Override
|
||||
public R getSingleResult() {
|
||||
//noinspection unchecked
|
||||
return (R) super.getSingleResult();
|
||||
return super.getSingleResult();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<R> uniqueResultOptional() {
|
||||
//noinspection unchecked
|
||||
return super.uniqueResultOptional();
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.hibernate.type.descriptor.ValueBinder;
|
|||
import org.hibernate.type.descriptor.ValueExtractor;
|
||||
import org.hibernate.type.descriptor.WrapperOptions;
|
||||
import org.hibernate.type.descriptor.java.BasicPluralJavaType;
|
||||
import org.hibernate.type.descriptor.java.BasicJavaType;
|
||||
import org.hibernate.type.descriptor.java.JavaType;
|
||||
import org.hibernate.type.descriptor.jdbc.internal.JdbcLiteralFormatterArray;
|
||||
import org.hibernate.type.spi.TypeConfiguration;
|
||||
|
|
Loading…
Reference in New Issue