From 7065740d6d02954c3483e2f24db36ad1af45c62e Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Thu, 28 Sep 2017 10:39:17 +0200 Subject: Use interface instead of implementation (#10073) --- server/src/main/java/com/vaadin/ui/Flash.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/src/main/java/com/vaadin/ui/Flash.java') diff --git a/server/src/main/java/com/vaadin/ui/Flash.java b/server/src/main/java/com/vaadin/ui/Flash.java index ced6d0bbad..affda1a372 100644 --- a/server/src/main/java/com/vaadin/ui/Flash.java +++ b/server/src/main/java/com/vaadin/ui/Flash.java @@ -18,6 +18,7 @@ package com.vaadin.ui; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; +import java.util.List; import java.util.Map; import org.jsoup.nodes.Element; @@ -238,7 +239,7 @@ public class Flash extends AbstractEmbedded { super.writeDesign(design, designContext); // Parameters, in alphabetic order - ArrayList paramNames = new ArrayList<>(); + List paramNames = new ArrayList<>(); for (String param : getParameterNames()) { paramNames.add(param); } -- cgit v1.2.3