Added some @SuppressWarnings where necessary.
This commit is contained in:
@@ -111,7 +111,7 @@ public class MappingMongoConverter implements MongoConverter, ApplicationContext
|
||||
return conversionService.convert(id, ObjectId.class);
|
||||
}
|
||||
|
||||
@SuppressWarnings({"unchecked"})
|
||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
||||
public <S extends Object> S read(Class<S> clazz, final DBObject dbo) {
|
||||
if (null == dbo) {
|
||||
return null;
|
||||
|
||||
@@ -171,6 +171,7 @@ public class ConvertingParameterAccessor implements ParameterAccessor {
|
||||
/**
|
||||
* @return the value
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public Enum<?> getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ class MongoQueryMethod extends QueryMethod {
|
||||
*
|
||||
* @param method
|
||||
*/
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
public MongoQueryMethod(Method method, Class<?> domainClass) {
|
||||
super(method);
|
||||
this.method = method;
|
||||
|
||||
Reference in New Issue
Block a user