Author: adrianc
Date: Sat Mar 27 16:43:44 2010
New Revision: 928224

URL: http://svn.apache.org/viewvc?rev=928224&view=rev
Log:
Additional JavaDocs and spelling corrections - no functional change.

Modified:
    
commons/sandbox/convert/trunk/src/main/java/org/apache/commons/convert/Converters.java

Modified: 
commons/sandbox/convert/trunk/src/main/java/org/apache/commons/convert/Converters.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/convert/trunk/src/main/java/org/apache/commons/convert/Converters.java?rev=928224&r1=928223&r2=928224&view=diff
==============================================================================
--- 
commons/sandbox/convert/trunk/src/main/java/org/apache/commons/convert/Converters.java
 (original)
+++ 
commons/sandbox/convert/trunk/src/main/java/org/apache/commons/convert/Converters.java
 Sat Mar 27 16:43:44 2010
@@ -142,13 +142,13 @@ OUTER:
         }
     }
 
-    /** Registers a <code>ConverterCreater</code> instance to be used by the
+    /** Registers a <code>ConverterCreator</code> instance to be used by the
      * {...@link org.apache.commons.convert.Converters#getConverter(Class, 
Class)}
      * method, when a converter can't be found.
      *
      * @param <S> The source object type
      * @param <T> The target object type
-     * @param creator The <code>ConverterCreater</code> instance to register
+     * @param creator The <code>ConverterCreator</code> instance to register
      */
     public static <S, T> void registerCreator(ConverterCreator creator) {
         creators.add(creator);
@@ -166,6 +166,16 @@ OUTER:
         registerConverter(converter, converter.getSourceClass(), 
converter.getTargetClass());
     }
 
+    /** Registers a <code>Converter</code> instance to be used by the
+     * {...@link org.apache.commons.convert.Converters#getConverter(Class, 
Class)}
+     * method.
+     * 
+     * @param <S> The source object type
+     * @param <T> The target object type
+     * @param converter
+     * @param sourceClass
+     * @param targetClass
+     */
     public static <S, T> void registerConverter(Converter<S, T> converter, 
Class<?> sourceClass, Class<?> targetClass) {
         StringBuilder sb = new StringBuilder();
         if (sourceClass != null) {
@@ -196,7 +206,7 @@ OUTER:
         }
     }
 
-    /** Pass thru converter used when the source and target java object
+    /** Pass-through converter used when the source and target java object
      * types are the same. The <code>convert</code> method returns the
      * source object.
      *


Reply via email to