DATAMONGO-260 - Fixed setup of ConversionService.

Remonde removal of generic ObjectToStringConverter as it doesn't break our converter lookup due to the changed algorithm how to involve Spring Converters in the conversion process.
This commit is contained in:
Oliver Gierke
2011-12-22 08:25:48 +01:00
parent ee33ce1571
commit 433e5a660e

View File

@@ -17,6 +17,7 @@
package org.springframework.data.mongodb.core.convert;
import java.math.BigInteger;
import org.bson.types.ObjectId;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.core.convert.ConversionService;
@@ -48,7 +49,6 @@ public abstract class AbstractMongoConverter implements MongoConverter, Initiali
public AbstractMongoConverter(GenericConversionService conversionService) {
this.conversionService = conversionService == null ? ConversionServiceFactory.createDefaultConversionService()
: conversionService;
this.conversionService.removeConvertible(Object.class, String.class);
}
/**