summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/main/java/com/vaadin/ui/Upload.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Upload.java b/server/src/main/java/com/vaadin/ui/Upload.java
index 301dc2d2e2..018b06e581 100644
--- a/server/src/main/java/com/vaadin/ui/Upload.java
+++ b/server/src/main/java/com/vaadin/ui/Upload.java
@@ -1205,7 +1205,7 @@ public class Upload extends AbstractComponent
/**
* Returns the component's list of accepted content-types. According to RFC
- * 1867, the attributeis present, the browser might constrain the file
+ * 1867, if the attribute is present, the browser might constrain the file
* patterns prompted for to match those with the corresponding appropriate
* file extensions for the platform.
*
@@ -1219,7 +1219,7 @@ public class Upload extends AbstractComponent
/**
* Sets the component's list of accepted content-types. According to RFC
- * 1867, the attributeis present, the browser might constrain the file
+ * 1867, if the attribute is present, the browser might constrain the file
* patterns prompted for to match those with the corresponding appropriate
* file extensions for the platform. Good examples are: {@code image/*} or
* {@code image/png,text/plain}