summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-05-22 11:30:49 +0300
committerIlia Motornyi <elmot@vaadin.com>2017-05-22 11:30:49 +0300
commit4081d372be6250b7a2ff28990af27980c0ffaf60 (patch)
tree5d609e8bba33cb6dd389a42c041db693ea42668a /test
parentdb713ec87ab182181f64e233ca29e5dc48dc41e5 (diff)
downloadvaadin-framework-4081d372be6250b7a2ff28990af27980c0ffaf60.tar.gz
vaadin-framework-4081d372be6250b7a2ff28990af27980c0ffaf60.zip
Fix test module for changed dependency filter API
Diffstat (limited to 'test')
-rw-r--r--test/dependency-rewrite/src/main/java/com/vaadin/test/dependencyrewrite/MyService.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/dependency-rewrite/src/main/java/com/vaadin/test/dependencyrewrite/MyService.java b/test/dependency-rewrite/src/main/java/com/vaadin/test/dependencyrewrite/MyService.java
index 5723a93885..b63d1da412 100644
--- a/test/dependency-rewrite/src/main/java/com/vaadin/test/dependencyrewrite/MyService.java
+++ b/test/dependency-rewrite/src/main/java/com/vaadin/test/dependencyrewrite/MyService.java
@@ -1,5 +1,6 @@
package com.vaadin.test.dependencyrewrite;
+import java.util.ArrayList;
import java.util.List;
import com.vaadin.server.DependencyFilter;
@@ -17,9 +18,10 @@ public class MyService extends VaadinServletService {
}
@Override
- protected List<DependencyFilter> createDependencyFilters()
- throws ServiceException {
- List<DependencyFilter> list = super.createDependencyFilters();
+ protected List<DependencyFilter> initDependencyFilters(
+ List<DependencyFilter> sessionInitFilters) throws ServiceException {
+ List<DependencyFilter> list = new ArrayList<>(
+ super.initDependencyFilters(sessionInitFilters));
list.add(new ApplicationDependencyFilter());
return list;
}