click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From med...@apache.org
Subject svn commit: r893695 - in /incubator/click/trunk/click/extras/src/org/apache/click/extras: gae/MemoryFileUploadService.java hibernate/HibernateForm.java
Date Thu, 24 Dec 2009 04:37:11 GMT
Author: medgar
Date: Thu Dec 24 04:37:10 2009
New Revision: 893695

URL: http://svn.apache.org/viewvc?rev=893695&view=rev
Log:
fix checkstyle errors

Modified:
    incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java
    incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/HibernateForm.java

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java?rev=893695&r1=893694&r2=893695&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java
(original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java
Thu Dec 24 04:37:10 2009
@@ -21,7 +21,6 @@
 import javax.servlet.ServletContext;
 import javax.servlet.http.HttpServletRequest;
 import org.apache.click.service.CommonsFileUploadService;
-import org.apache.click.service.FileUploadService;
 import org.apache.commons.fileupload.FileItemFactory;
 
 /**

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/HibernateForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/HibernateForm.java?rev=893695&r1=893694&r2=893695&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/HibernateForm.java
(original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/hibernate/HibernateForm.java
Thu Dec 24 04:37:10 2009
@@ -401,7 +401,7 @@
                 Field field = getField(propertyNames[i]);
                 if (field != null) {
                     boolean isMandatory = !propertyNullability[i];
-                    if(!field.isRequired() && isMandatory) {
+                    if (!field.isRequired() && isMandatory) {
                         if (!(field instanceof Checkbox)) {
                             field.setRequired(true);
                         }



Mime
View raw message