Revision: 1413
          http://stripes.svn.sourceforge.net/stripes/?rev=1413&view=rev
Author:   bengunter
Date:     2011-03-03 19:47:09 +0000 (Thu, 03 Mar 2011)

Log Message:
-----------
Applied fix for STS-796 from 1.5.x branch.

Modified Paths:
--------------
    
trunk/stripes/src/net/sourceforge/stripes/controller/DefaultActionBeanPropertyBinder.java
    
trunk/stripes/src/net/sourceforge/stripes/validation/OneToManyTypeConverter.java

Modified: 
trunk/stripes/src/net/sourceforge/stripes/controller/DefaultActionBeanPropertyBinder.java
===================================================================
--- 
trunk/stripes/src/net/sourceforge/stripes/controller/DefaultActionBeanPropertyBinder.java
   2011-03-03 19:46:22 UTC (rev 1412)
+++ 
trunk/stripes/src/net/sourceforge/stripes/controller/DefaultActionBeanPropertyBinder.java
   2011-03-03 19:47:09 UTC (rev 1413)
@@ -757,7 +757,7 @@
             }
             converter = factory.getInstance(validationInfo.converter(), 
locale);
         }
-        // Else, if we got a converter for the declared type (e.g. Foo 
implementes List<Bar>)
+        // Else, if we got a converter for the declared type (e.g. Foo 
implements List<Bar>)
         // then convert for the declared type
         else if (converter != null) {
             returnType = declaredType;

Modified: 
trunk/stripes/src/net/sourceforge/stripes/validation/OneToManyTypeConverter.java
===================================================================
--- 
trunk/stripes/src/net/sourceforge/stripes/validation/OneToManyTypeConverter.java
    2011-03-03 19:46:22 UTC (rev 1412)
+++ 
trunk/stripes/src/net/sourceforge/stripes/validation/OneToManyTypeConverter.java
    2011-03-03 19:47:09 UTC (rev 1413)
@@ -46,7 +46,7 @@
  *
  * <p>The individual components of the String are then converted using an 
appropriate
  * {@link TypeConverter} which is looked up using the {@link 
TypeConverterFactory}.  As a result
- * the {@code OneToManyTypeConverter} can be used to convert to a list of any 
type fo which
+ * the {@code OneToManyTypeConverter} can be used to convert to a list of any 
type for which
  * a {@code TypeConverter} has been registered.  If a usable {@code 
TypeConverter} cannot be
  * discovered then an Exception will be thrown!  However, if you wish to use 
the
  * {@code OneToManyTypeConverter} with a {@code TypeConverter} which is not 
registered as the
@@ -56,7 +56,7 @@
  * <p>Strictly speaking the {@code OneToManyTypeConverter} returns a {@link 
java.util.Collection}
  * of converted items. It does not have any way of inferring the collection 
type that should be
  * used, and so by default it will always return an instance of {@link 
java.util.List}. This
- * behaviour can easily be overriden by extending this class and overriding
+ * behaviour can easily be overridden by extending this class and overriding
  * {@link #getCollectionInstance()}.</p>
  *
  * <p>Note that the converter itself does not create any {@link 
ValidationError}s, but that


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to