Skip to content

Commit

Permalink
[hibernate#2043] Remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Dec 19, 2024
1 parent 6abd52a commit de92001
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@ public Integer getMaxResults() {

@Override
public <T> NativeQueryImplementor<T> toQuery(SharedSessionContractImplementor session) {
return new ReactiveNativeQueryImpl<T>( this, session );
return new ReactiveNativeQueryImpl<>( this, session );
}

@Override
public <T> NativeQueryImplementor<T> toQuery(SharedSessionContractImplementor session, Class<T> resultType) {
return new ReactiveNativeQueryImpl<T>( this, resultType, session );
return new ReactiveNativeQueryImpl<>( this, resultType, session );
}

@Override
public <T> NativeQueryImplementor<T> toQuery(SharedSessionContractImplementor session, String resultSetMapping) {
return new ReactiveNativeQueryImpl<T>( this, resultSetMapping, session );
return new ReactiveNativeQueryImpl<>( this, resultSetMapping, session );
}

@Override
Expand Down

0 comments on commit de92001

Please sign in to comment.