Author: freemant
Date: Mon Dec 18 01:05:11 2006
New Revision: 488160

URL: http://svn.apache.org/viewvc?view=rev&rev=488160
Log:
Added a little bit of documentation.

Modified:
    
tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/TypeCoercerImpl.java
    
tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/services/TapestryIOCModule.java

Modified: 
tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/TypeCoercerImpl.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/TypeCoercerImpl.java?view=diff&rev=488160&r1=488159&r2=488160
==============================================================================
--- 
tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/TypeCoercerImpl.java
 (original)
+++ 
tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/TypeCoercerImpl.java
 Mon Dec 18 01:05:11 2006
@@ -111,6 +111,8 @@
     {
         Defense.notNull(targetType, "targetType");
 
+        // Treat null as void in terms of locating a coercion.
+
         Class sourceType = input != null ? input.getClass() : void.class;
 
         // The caller may ask for the value in a primitive type, but the best 
we can do is the

Modified: 
tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/services/TapestryIOCModule.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/services/TapestryIOCModule.java?view=diff&rev=488160&r1=488159&r2=488160
==============================================================================
--- 
tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/services/TapestryIOCModule.java
 (original)
+++ 
tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/services/TapestryIOCModule.java
 Mon Dec 18 01:05:11 2006
@@ -218,6 +218,7 @@
      * <li>Long to Boolean (true if long value is non zero)</li>
      * <li>Null to Boolean (always false)</li>
      * <li>Collection to Boolean (false if empty)</li>
+     * <li>Object[] to List</li>
      * <li>Object to List (by wrapping as a singleton list)</li>
      * <li>Null to String (still null)</li>
      * </ul>


Reply via email to