aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-28 10:39:17 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-28 11:39:17 +0300
commit7065740d6d02954c3483e2f24db36ad1af45c62e (patch)
treedb3a0f0cabb8cc3ce4a4d2636aff9bf1716fcd8b /server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
parent1827ccb5ed99c9b2deeea38e239527420711f5d1 (diff)
downloadvaadin-framework-7065740d6d02954c3483e2f24db36ad1af45c62e.tar.gz
vaadin-framework-7065740d6d02954c3483e2f24db36ad1af45c62e.zip
Use interface instead of implementation (#10073)
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
index 5b5887316c..357a9fbdf3 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
@@ -449,7 +449,7 @@ public class DesignAttributeHandler implements Serializable {
}
private Collection<String> getAttributes() {
- ArrayList<String> attributes = new ArrayList<>();
+ List<String> attributes = new ArrayList<>();
attributes.addAll(accessMethods.keySet());
return attributes;
}