aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-server
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 /compatibility-server
parent40d15b32e341a38dacc24cc3ec79ab3ff0a25a50 (diff)
downloadvaadin-framework-3c0c3e0a997f66821d037df641c435dda930a890.tar.gz
vaadin-framework-3c0c3e0a997f66821d037df641c435dda930a890.zip
Fix typos (#10071)
And use varargs in a test.
Diffstat (limited to 'compatibility-server')
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java2
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/Tree.java2
-rw-r--r--compatibility-server/src/main/java/com/vaadin/v7/ui/Upload.java2
-rw-r--r--compatibility-server/src/test/java/com/vaadin/v7/data/util/BeanItemTest.java2
-rw-r--r--compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformQueryTest.java2
5 files changed, 5 insertions, 5 deletions
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java
index eddd57888b..eada1aa02b 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractSelect.java
@@ -628,7 +628,7 @@ public abstract class AbstractSelect extends AbstractField<Object> implements
/**
* Gets the visible item ids. In Select, this returns list of all item ids,
- * but can be overriden in subclasses if they paint only part of the items
+ * but can be overridden in subclasses if they paint only part of the items
* to the terminal or null if no items is visible.
*/
public Collection<?> getVisibleItemIds() {
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Tree.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Tree.java
index 0dc1772f65..cba3dd45da 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Tree.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Tree.java
@@ -1432,7 +1432,7 @@ public class Tree extends AbstractSelect implements Container.Hierarchical,
public abstract String getStyle(Tree source, Object itemId);
}
- // Overriden so javadoc comes from Container.Hierarchical
+ // Overridden so javadoc comes from Container.Hierarchical
@Override
public boolean removeItem(Object itemId)
throws UnsupportedOperationException {
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Upload.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Upload.java
index 0eeea4ac53..6ded53b3a1 100644
--- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Upload.java
+++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Upload.java
@@ -194,7 +194,7 @@ public class Upload extends AbstractLegacyComponent
target.addAttribute("nextid", nextid);
- // Post file to this strean variable
+ // Post file to this stream variable
target.addVariable(this, "action", getStreamVariable());
}
diff --git a/compatibility-server/src/test/java/com/vaadin/v7/data/util/BeanItemTest.java b/compatibility-server/src/test/java/com/vaadin/v7/data/util/BeanItemTest.java
index a9eb3d740b..8232f9d532 100644
--- a/compatibility-server/src/test/java/com/vaadin/v7/data/util/BeanItemTest.java
+++ b/compatibility-server/src/test/java/com/vaadin/v7/data/util/BeanItemTest.java
@@ -373,7 +373,7 @@ public class BeanItemTest {
}
@Test
- public void testOverridenGenericMethods() {
+ public void testOverriddenGenericMethods() {
BeanItem<SubClass> item = new BeanItem<SubClass>(new SubClass());
Property<?> property = item.getItemProperty("property");
diff --git a/compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformQueryTest.java b/compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformQueryTest.java
index b32f16325d..04d357c71c 100644
--- a/compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformQueryTest.java
+++ b/compatibility-server/src/test/java/com/vaadin/v7/data/util/sqlcontainer/query/FreeformQueryTest.java
@@ -137,7 +137,7 @@ public class FreeformQueryTest {
public void getCount_moreComplexQuery_returnsThree() throws SQLException {
FreeformQuery query = new FreeformQuery(
"SELECT * FROM people WHERE \"NAME\" LIKE '%lle'",
- connectionPool, new String[] { "ID" });
+ connectionPool, "ID");
Assert.assertEquals(3, query.getCount());
}