Author: almaw
Date: Tue Jun  5 04:38:26 2007
New Revision: 544452

URL: http://svn.apache.org/viewvc?view=rev&rev=544452
Log:
Proper fix for WICKET-606. Cretin. :-(

Modified:
    
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractTextComponent.java

Modified: 
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractTextComponent.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractTextComponent.java?view=diff&rev=544452&r1=544451&r2=544452
==============================================================================
--- 
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractTextComponent.java
 (original)
+++ 
incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/AbstractTextComponent.java
 Tue Jun  5 04:38:26 2007
@@ -105,7 +105,7 @@
                        // Set the type, but only if it's not a String (see 
WICKET-606).
                        // Otherwise, getConvertEmptyInputStringToNull() won't 
work.
                        Class type = getModelType(getModel());
-                       if (String.class.equals(type))
+                       if (!String.class.equals(type))
                        {
                                setType(type);
                        }


Reply via email to