additional javadoc and tests

This commit is contained in:
Keith Donald
2009-11-21 18:30:34 +00:00
parent e3462aeef3
commit 9d354192ef
4 changed files with 89 additions and 0 deletions

View File

@@ -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();