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;
|
package org.hibernate.boot.model;
|
||||||
|
|
||||||
import org.hibernate.query.sqm.function.SqmFunctionRegistry;
|
|
||||||
import org.hibernate.service.ServiceRegistry;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contract for contributing functions
|
* Contract for contributing functions
|
||||||
*
|
*
|
||||||
|
|
|
@ -1077,19 +1077,16 @@ public class QuerySqmImpl<R>
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<R> list() {
|
public List<R> list() {
|
||||||
//noinspection unchecked
|
|
||||||
return super.list();
|
return super.list();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ScrollableResultsImplementor<R> scroll() {
|
public ScrollableResultsImplementor<R> scroll() {
|
||||||
//noinspection unchecked
|
|
||||||
return super.scroll();
|
return super.scroll();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ScrollableResultsImplementor<R> scroll(ScrollMode scrollMode) {
|
public ScrollableResultsImplementor<R> scroll(ScrollMode scrollMode) {
|
||||||
//noinspection unchecked
|
|
||||||
return super.scroll( scrollMode );
|
return super.scroll( scrollMode );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1101,19 +1098,16 @@ public class QuerySqmImpl<R>
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public R uniqueResult() {
|
public R uniqueResult() {
|
||||||
//noinspection unchecked
|
return super.uniqueResult();
|
||||||
return (R) super.uniqueResult();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public R getSingleResult() {
|
public R getSingleResult() {
|
||||||
//noinspection unchecked
|
return super.getSingleResult();
|
||||||
return (R) super.getSingleResult();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Optional<R> uniqueResultOptional() {
|
public Optional<R> uniqueResultOptional() {
|
||||||
//noinspection unchecked
|
|
||||||
return super.uniqueResultOptional();
|
return super.uniqueResultOptional();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ import org.hibernate.type.descriptor.ValueBinder;
|
||||||
import org.hibernate.type.descriptor.ValueExtractor;
|
import org.hibernate.type.descriptor.ValueExtractor;
|
||||||
import org.hibernate.type.descriptor.WrapperOptions;
|
import org.hibernate.type.descriptor.WrapperOptions;
|
||||||
import org.hibernate.type.descriptor.java.BasicPluralJavaType;
|
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.java.JavaType;
|
||||||
import org.hibernate.type.descriptor.jdbc.internal.JdbcLiteralFormatterArray;
|
import org.hibernate.type.descriptor.jdbc.internal.JdbcLiteralFormatterArray;
|
||||||
import org.hibernate.type.spi.TypeConfiguration;
|
import org.hibernate.type.spi.TypeConfiguration;
|
||||||
|
|
Loading…
Reference in New Issue