Fixed some Findbugs issues.
Adapted to method renaming in Spring Data Commons.
This commit is contained in:
@@ -32,7 +32,7 @@ import org.springframework.util.ReflectionUtils;
|
||||
*/
|
||||
class MongoEntityInformation implements IsNewAware, IdAware {
|
||||
|
||||
private final List<String> FIELD_NAMES = Arrays.asList("ID", "id", "_id");
|
||||
private static final List<String> FIELD_NAMES = Arrays.asList("ID", "id", "_id");
|
||||
private Field field;
|
||||
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ class MongoQueryCreator extends AbstractQueryCreator<DBObject, QueryBuilder> {
|
||||
* #finalize(java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
protected DBObject finalize(QueryBuilder criteria, Sort sort) {
|
||||
protected DBObject complete(QueryBuilder criteria, Sort sort) {
|
||||
|
||||
return criteria.get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user