aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com
diff options
context:
space:
mode:
authorPer-Åke Minborg <minborg@speedment.com>2016-10-28 10:48:46 -0700
committerVaadin Code Review <review@vaadin.com>2016-11-04 14:50:26 +0000
commitb6b70f6b9dc3d00c71f6150d62d583698053f631 (patch)
treefc0ef0496e1b1aaf666539be318bfe0a8acc5c26 /server/src/main/java/com
parent0652f2abb8bcdbfa76ec135025284115bcb71e2f (diff)
downloadvaadin-framework-b6b70f6b9dc3d00c71f6150d62d583698053f631.tar.gz
vaadin-framework-b6b70f6b9dc3d00c71f6150d62d583698053f631.zip
Replace Vector with List and ArrayList
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7228
Diffstat (limited to 'server/src/main/java/com')
-rw-r--r--server/src/main/java/com/vaadin/server/ComponentSizeValidator.java3
-rw-r--r--server/src/main/java/com/vaadin/server/JsonPaintTarget.java9
2 files changed, 6 insertions, 6 deletions
diff --git a/server/src/main/java/com/vaadin/server/ComponentSizeValidator.java b/server/src/main/java/com/vaadin/server/ComponentSizeValidator.java
index de6f5d0a9a..129000b3bb 100644
--- a/server/src/main/java/com/vaadin/server/ComponentSizeValidator.java
+++ b/server/src/main/java/com/vaadin/server/ComponentSizeValidator.java
@@ -24,7 +24,6 @@ import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Stack;
-import java.util.Vector;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -197,7 +196,7 @@ public class ComponentSizeValidator implements Serializable {
private final boolean invalidHeight;
private final boolean invalidWidth;
- private final Vector<InvalidLayout> subErrors = new Vector<>();
+ private final List<InvalidLayout> subErrors = new ArrayList<>();
public InvalidLayout(Component component, boolean height,
boolean width) {
diff --git a/server/src/main/java/com/vaadin/server/JsonPaintTarget.java b/server/src/main/java/com/vaadin/server/JsonPaintTarget.java
index d5276aefaf..3d0b7393e6 100644
--- a/server/src/main/java/com/vaadin/server/JsonPaintTarget.java
+++ b/server/src/main/java/com/vaadin/server/JsonPaintTarget.java
@@ -25,13 +25,14 @@ import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.Stack;
-import java.util.Vector;
import java.util.logging.Level;
import java.util.logging.Logger;
import com.vaadin.ui.Alignment;
import com.vaadin.ui.Component;
import com.vaadin.ui.CustomLayout;
+import java.util.ArrayList;
+import java.util.List;
/**
* User Interface Description Language Target.
@@ -728,11 +729,11 @@ public class JsonPaintTarget implements PaintTarget {
class JsonTag implements Serializable {
boolean firstField = false;
- Vector<Object> variables = new Vector<>();
+ List<Object> variables = new ArrayList<>();
- Vector<Object> children = new Vector<>();
+ List<Object> children = new ArrayList<>();
- Vector<Object> attr = new Vector<>();
+ List<Object> attr = new ArrayList<>();
StringBuilder data = new StringBuilder();