Revision: 474
          http://svn.sourceforge.net/stripes/?rev=474&view=rev
Author:   tfenne
Date:     2006-12-13 05:23:23 -0800 (Wed, 13 Dec 2006)

Log Message:
-----------
Added expected return when conversion fails.

Modified Paths:
--------------
    trunk/stripes/src/net/sourceforge/stripes/validation/TypeConverter.java

Modified: 
trunk/stripes/src/net/sourceforge/stripes/validation/TypeConverter.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/validation/TypeConverter.java     
2006-11-21 01:57:11 UTC (rev 473)
+++ trunk/stripes/src/net/sourceforge/stripes/validation/TypeConverter.java     
2006-12-13 13:23:23 UTC (rev 474)
@@ -43,7 +43,7 @@
      *        converters will return a single type more often than not.
      * @param errors an empty collection of validation errors that should be 
populated by the
      *        converter for any errors that occur during validation that are 
user input related.
-     * @return T an instance of the converted type
+     * @return T an instance of the converted type, or null if the input 
cannot be converted
      */
     T convert(String input, Class<? extends T> targetType, 
Collection<ValidationError> errors);
 }


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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to