add a couple of missing @SuppressWarnings in Query hierarchy

This commit is contained in:
Gavin King 2022-01-24 23:43:45 +01:00
parent 599ffec8fc
commit 6590727698
4 changed files with 4 additions and 4 deletions

View File

@ -413,7 +413,7 @@ public interface SelectionQuery<R> extends CommonQueryContract {
<P> SelectionQuery<R> setParameterList(String name, P[] values, BindableType<P> type); <P> SelectionQuery<R> setParameterList(String name, P[] values, BindableType<P> type);
@Override @Override
SelectionQuery<R> setParameterList(int position, Collection values); SelectionQuery<R> setParameterList(int position, @SuppressWarnings("rawtypes") Collection values);
@Override @Override
<P> SelectionQuery<R> setParameterList(int position, Collection<? extends P> values, Class<P> javaType); <P> SelectionQuery<R> setParameterList(int position, Collection<? extends P> values, Class<P> javaType);

View File

@ -194,7 +194,7 @@ public interface SqmQueryImplementor<R> extends QueryImplementor<R>, SqmQuery, N
<P> SqmQueryImplementor<R> setParameterList(String name, P[] values, BindableType<P> type); <P> SqmQueryImplementor<R> setParameterList(String name, P[] values, BindableType<P> type);
@Override @Override
SqmQueryImplementor<R> setParameterList(int position, Collection values); SqmQueryImplementor<R> setParameterList(int position, @SuppressWarnings("rawtypes") Collection values);
@Override @Override
<P> SqmQueryImplementor<R> setParameterList(int position, Collection<? extends P> values, Class<P> javaType); <P> SqmQueryImplementor<R> setParameterList(int position, Collection<? extends P> values, Class<P> javaType);

View File

@ -595,7 +595,7 @@ public abstract class AbstractSelectionQuery<R>
} }
@Override @Override
public SelectionQuery<R> setParameterList(int position, Collection values) { public SelectionQuery<R> setParameterList(int position, @SuppressWarnings("rawtypes") Collection values) {
super.setParameterList( position, values ); super.setParameterList( position, values );
return this; return this;
} }

View File

@ -1396,7 +1396,7 @@ public class QuerySqmImpl<R>
} }
@Override @Override
public SqmQueryImplementor<R> setParameterList(int position, Collection values) { public SqmQueryImplementor<R> setParameterList(int position, @SuppressWarnings("rawtypes") Collection values) {
super.setParameterList( position, values ); super.setParameterList( position, values );
return this; return this;
} }