aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/java/com/vaadin/tests/TestBench.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/main/java/com/vaadin/tests/TestBench.java')
-rw-r--r--uitest/src/main/java/com/vaadin/tests/TestBench.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/TestBench.java b/uitest/src/main/java/com/vaadin/tests/TestBench.java
index 7de6e4e2c5..388a113768 100644
--- a/uitest/src/main/java/com/vaadin/tests/TestBench.java
+++ b/uitest/src/main/java/com/vaadin/tests/TestBench.java
@@ -276,7 +276,7 @@ public class TestBench extends com.vaadin.server.LegacyApplication
*/
public static List<Class<?>> getTestableClassesForPackage(
String packageName) throws Exception {
- final ArrayList<File> directories = new ArrayList<>();
+ final List<File> directories = new ArrayList<>();
try {
final ClassLoader cld = Thread.currentThread()
.getContextClassLoader();
@@ -295,7 +295,7 @@ public class TestBench extends com.vaadin.server.LegacyApplication
packageName + " does not appear to be a valid package.");
}
- final ArrayList<Class<?>> classes = new ArrayList<>();
+ final List<Class<?>> classes = new ArrayList<>();
// For every directory identified capture all the .class files
for (final File directory : directories) {
if (directory.exists()) {