File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/main/java/com/flowingcode/vaadin/jsonmigration Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 2222import com .vaadin .flow .component .Component ;
2323import com .vaadin .flow .router .RouteConfiguration ;
2424import com .vaadin .flow .server .VaadinServiceInitListener ;
25- import com .vaadin .flow .server .Version ;
2625
2726/**
2827 * Abstract base class for Vaadin service initializers that register instrumented views. Subclasses
@@ -54,9 +53,7 @@ protected final void registerInstrumentedRoute(Class<? extends Component> naviga
5453 }
5554
5655 String route = annotation .value ();
57- if (Version .getMajorVersion () > 24 ) {
58- navigationTarget = JsonMigration .instrumentClass (navigationTarget );
59- }
56+ navigationTarget = JsonMigration .instrumentClass (navigationTarget );
6057 RouteConfiguration .forApplicationScope ().setRoute (route , navigationTarget );
6158 }
6259
You can’t perform that action at this time.
0 commit comments