aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/Upload.java
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-25 06:54:30 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-25 07:54:30 +0300
commit3c0c3e0a997f66821d037df641c435dda930a890 (patch)
tree152afe8c3340dafaa50562f1a21a3b2325583639 /server/src/main/java/com/vaadin/ui/Upload.java
parent40d15b32e341a38dacc24cc3ec79ab3ff0a25a50 (diff)
downloadvaadin-framework-3c0c3e0a997f66821d037df641c435dda930a890.tar.gz
vaadin-framework-3c0c3e0a997f66821d037df641c435dda930a890.zip
Fix typos (#10071)
And use varargs in a test.
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/Upload.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/Upload.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Upload.java b/server/src/main/java/com/vaadin/ui/Upload.java
index 4cd9ea7b82..6d689c61f4 100644
--- a/server/src/main/java/com/vaadin/ui/Upload.java
+++ b/server/src/main/java/com/vaadin/ui/Upload.java
@@ -193,7 +193,7 @@ public class Upload extends AbstractComponent
target.addAttribute("nextid", nextid);
- // Post file to this strean variable
+ // Post file to this stream variable
target.addVariable(this, "action", getStreamVariable());
}
@@ -1026,10 +1026,11 @@ public class Upload extends AbstractComponent
/**
* In addition to the actual file chooser, upload components have button
- * that starts actual upload progress. This method is used to set a stylename
- * to that button.
+ * that starts actual upload progress. This method is used to set a
+ * stylename to that button.
*
- * @param buttonStyleName styleName for upload components button.
+ * @param buttonStyleName
+ * styleName for upload components button.
* @see #setButtonCaption(String) about when the button is shown / hidden.
* @since 8.2
*/