spring-projects/spring-data-mongodb — pull request #243 by yacota (2014-11-14 10:15:24+00:00)
Title: DATAMONGO-1043

already applied formatting from https://github.com/spring-projects/spring-data-build/blob/master/etc/ide/eclipse-formatting.xml, but still too many changes

To summarize :
- MongoQueryMethod.getEntityInformation when creating SimpleMongoEntityMetadata uses the MongoPersistentEntity itself, instead of MongoPersistentEntity.getCollection()
- new constructor added : SimpleMongoEntityMetadata(Class type, MongoPersistentEntity persistentEntityRef)
- SimpleMongoEntityMetadata.getCollectionName checks the presence of persistentEntityRef and uses it whenever possible