Update of 
/var/cvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/java/com/finalist/portlets/responseform
In directory 
james.mmbase.org:/tmp/cvs-serv22533/portlets-dynamicforms/src/java/com/finalist/portlets/responseform

Modified Files:
        ResponseFormPortlet.java 
Log Message:
CMSC-907 - Fixed bad code constructions and redundant code


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/java/com/finalist/portlets/responseform
See also: http://www.mmbase.org/jira/browse/CMSC-907


Index: ResponseFormPortlet.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/java/com/finalist/portlets/responseform/ResponseFormPortlet.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- ResponseFormPortlet.java    10 May 2008 16:32:16 -0000      1.14
+++ ResponseFormPortlet.java    3 Jul 2008 20:55:16 -0000       1.15
@@ -139,7 +139,7 @@
                   
                   if (type == TYPE_CHECKBOX) {
                      if(value != null && value instanceof String){
-                        textValue = (value == null) ? CHECKBOX_NO : 
value.toString();
+                        textValue = value.toString();
                      }
                      else if (value != null && value instanceof ArrayList){
                         textValue = transferParameterValues((ArrayList)value);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to