Skip to content

Commit de92001

Browse files
committed
[hibernate#2043] Remove warnings
1 parent 6abd52a commit de92001

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/query/sql/spi/ReactiveNamedNativeQueryMemento.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,17 @@ public Integer getMaxResults() {
6969

7070
@Override
7171
public <T> NativeQueryImplementor<T> toQuery(SharedSessionContractImplementor session) {
72-
return new ReactiveNativeQueryImpl<T>( this, session );
72+
return new ReactiveNativeQueryImpl<>( this, session );
7373
}
7474

7575
@Override
7676
public <T> NativeQueryImplementor<T> toQuery(SharedSessionContractImplementor session, Class<T> resultType) {
77-
return new ReactiveNativeQueryImpl<T>( this, resultType, session );
77+
return new ReactiveNativeQueryImpl<>( this, resultType, session );
7878
}
7979

8080
@Override
8181
public <T> NativeQueryImplementor<T> toQuery(SharedSessionContractImplementor session, String resultSetMapping) {
82-
return new ReactiveNativeQueryImpl<T>( this, resultSetMapping, session );
82+
return new ReactiveNativeQueryImpl<>( this, resultSetMapping, session );
8383
}
8484

8585
@Override

0 commit comments

Comments
 (0)