myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dennisby...@apache.org
Subject svn commit: r413820 - /myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_SharedRendererUtils.java
Date Tue, 13 Jun 2006 07:11:45 GMT
Author: dennisbyrne
Date: Tue Jun 13 00:11:45 2006
New Revision: 413820

URL: http://svn.apache.org/viewvc?rev=413820&view=rev
Log:
MYFACES-1250

Modified:
    myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_SharedRendererUtils.java

Modified: myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_SharedRendererUtils.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_SharedRendererUtils.java?rev=413820&r1=413819&r2=413820&view=diff
==============================================================================
--- myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_SharedRendererUtils.java
(original)
+++ myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_SharedRendererUtils.java
Tue Jun 13 00:11:45 2006
@@ -50,7 +50,6 @@
         Class valueType = vb.getType(facesContext);
         if (valueType == null) return null;
 
-        if (String.class.equals(valueType)) return null;    //No converter needed for String
type
         if (Object.class.equals(valueType)) return null;    //There is no converter for Object
class
 
         try
@@ -116,7 +115,6 @@
                 throw new IllegalArgumentException("ValueBinding for UISelectMany must be
of type List or Array");
             }
 
-            if (String.class.equals(arrayComponentType)) return submittedValue; //No conversion
needed for String type
             if (Object.class.equals(arrayComponentType)) return submittedValue; //No conversion
for Object class
 
             try



Mime
View raw message