diff options
Diffstat (limited to 'test/spring-boot/src/main/java/com/example')
-rw-r--r-- | test/spring-boot/src/main/java/com/example/CustomSpringNavigator.java | 19 | ||||
-rw-r--r-- | test/spring-boot/src/main/java/com/example/ui/AbstractSpringUI.java | 7 |
2 files changed, 0 insertions, 26 deletions
diff --git a/test/spring-boot/src/main/java/com/example/CustomSpringNavigator.java b/test/spring-boot/src/main/java/com/example/CustomSpringNavigator.java deleted file mode 100644 index fd11bb1473..0000000000 --- a/test/spring-boot/src/main/java/com/example/CustomSpringNavigator.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.example; - -import org.springframework.stereotype.Component; - -import com.vaadin.navigator.ViewDisplay; -import com.vaadin.spring.annotation.UIScope; -import com.vaadin.spring.navigator.SpringNavigator; -import com.vaadin.ui.UI; - -@UIScope -@Component -public class CustomSpringNavigator extends SpringNavigator { - - @Override - public void init(UI ui, ViewDisplay display) { - // FIXME: Should be in Spring plug-in - init(ui, null, display); - } -} diff --git a/test/spring-boot/src/main/java/com/example/ui/AbstractSpringUI.java b/test/spring-boot/src/main/java/com/example/ui/AbstractSpringUI.java index 2549e7e8a8..9b1ddd82ed 100644 --- a/test/spring-boot/src/main/java/com/example/ui/AbstractSpringUI.java +++ b/test/spring-boot/src/main/java/com/example/ui/AbstractSpringUI.java @@ -52,11 +52,4 @@ abstract class AbstractSpringUI extends UI { event -> getUI().getNavigator().navigateTo(viewName)); return button; } - - @Override - public String getUiRootPath() { - // FIXME: Should be handled by Spring plug-in - return super.getUiRootPath() + "/" - + getClass().getAnnotation(SpringUI.class).path(); - } } |