click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r890292 - /incubator/click/trunk/click/framework/src/org/apache/click/control/FieldSet.java
Date Mon, 14 Dec 2009 12:28:40 GMT
Author: sabob
Date: Mon Dec 14 12:28:39 2009
New Revision: 890292

URL: http://svn.apache.org/viewvc?rev=890292&view=rev
Log:
remove null check in order to remove a fieldset from a form

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/control/FieldSet.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/control/FieldSet.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/control/FieldSet.java?rev=890292&r1=890291&r2=890292&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/control/FieldSet.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/control/FieldSet.java Mon Dec
14 12:28:39 2009
@@ -590,10 +590,6 @@
      * @param form FieldSet's parent <tt>Form</tt>
      */
     public void setForm(Form form) {
-        if (form == null) {
-            throw new IllegalArgumentException("Cannot set the FieldSet's form to null");
-        }
-
         this.form = form;
 
         // Set the specified form on the fieldsSets children. This call is not



Mime
View raw message