Skip to content

Commit 512f68a

Browse files
committed
DATAMONGO-1476 - Polishing.
Extend year range in license header. Use the specified collection name in doRemove. Original pull request: #382.
1 parent fbcd4ba commit 512f68a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoTemplate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2015 the original author or authors.
2+
* Copyright 2010-2016 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -1336,7 +1336,7 @@ public WriteResult doInCollection(DBCollection collection) throws MongoException
13361336

13371337
if (LOGGER.isDebugEnabled()) {
13381338
LOGGER.debug("Remove using query: {} in collection: {}.",
1339-
new Object[] { serializeToJsonSafely(dboq), collection.getName() });
1339+
new Object[] { serializeToJsonSafely(dboq), collectionName });
13401340
}
13411341

13421342
WriteResult wr = writeConcernToUse == null ? collection.remove(dboq)

0 commit comments

Comments
 (0)