]> source.dussan.org Git - vaadin-framework.git/commitdiff
code format
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 15 Apr 2011 10:04:26 +0000 (10:04 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 15 Apr 2011 10:04:26 +0000 (10:04 +0000)
svn changeset:18318/svn branch:6.6

src/com/vaadin/terminal/gwt/client/ui/VUpload.java

index 3c81736d871ee437931378234a7af07bb3073078..799812396e896e2218cb40c2c7fb174a2becd1da 100644 (file)
@@ -143,7 +143,7 @@ public class VUpload extends SimplePanel implements Paintable {
             t.schedule(400);
             return;
         }
-        if(uidl.hasAttribute("forceSubmit")) {
+        if (uidl.hasAttribute("forceSubmit")) {
             element.submit();
             return;
         }
@@ -154,7 +154,7 @@ public class VUpload extends SimplePanel implements Paintable {
         final String action = client.translateVaadinUri(uidl
                 .getStringVariable("action"));
         element.setAction(action);
-        if(uidl.hasAttribute("buttoncaption")) {
+        if (uidl.hasAttribute("buttoncaption")) {
             submitButton.setText(uidl.getStringAttribute("buttoncaption"));
             submitButton.setVisible(true);
         } else {