additional javadoc and tests

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2491 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Keith Donald
2009-11-21 18:30:34 +00:00
parent 9ff7a03214
commit 71c88d39bd
4 changed files with 89 additions and 0 deletions
@@ -17,6 +17,7 @@
package org.springframework.core.convert.support;
import org.springframework.core.convert.ConversionService;
import org.springframework.core.convert.converter.ConverterRegistry;
/**
* A factory for creating common ConversionService configurations.
@@ -31,6 +32,7 @@ public final class ConversionServiceFactory {
/**
* Create a new default ConversionService prototype that can be safely modified.
* Callers may cast the returned ConversionService to a {@link ConverterRegistry} to supplement or override the default converters.
*/
public static ConversionService createDefaultConversionService() {
GenericConversionService conversionService = new GenericConversionService();