Skip to content

Commit 5df50b8

Browse files
committed
build(demo): update commons-demo dependency to 2.1.0-SNAPSHOT
1 parent 940fa72 commit 5df50b8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
<dependency>
129129
<groupId>com.flowingcode.vaadin.addons.demo</groupId>
130130
<artifactId>commons-demo</artifactId>
131-
<version>1.0.0-SNAPSHOT</version>
131+
<version>2.1.0-SNAPSHOT</version>
132132
<scope>test</scope>
133133
</dependency>
134134
</dependencies>

src/test/java/com/flowingcode/vaadin/addons/googlemaps/GooglemapsDemoView.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,20 @@
2121

2222
import com.flowingcode.vaadin.addons.DemoLayout;
2323
import com.flowingcode.vaadin.addons.GithubLink;
24-
import com.flowingcode.vaadin.addons.demo.impl.TabbedDemoImpl;
24+
import com.flowingcode.vaadin.addons.demo.TabbedDemo;
2525
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
2626
import com.vaadin.flow.router.Route;
2727

2828
@SuppressWarnings("serial")
2929
@Route(value = "googlemaps", layout = DemoLayout.class)
3030
@GithubLink("https://github.com/FlowingCode/GoogleMapsAddon")
31-
public class GooglemapsDemoView extends VerticalLayout {
31+
public class GooglemapsDemoView extends TabbedDemo {
3232

3333
private static final String GMAPS_DEMO = "Google Maps Demo";
3434
private static final String GMAPS_SOURCE = "https://github.com/FlowingCode/GoogleMapsAddon/blob/master/src/test/java/com/flowingcode/vaadin/addons/googlemaps/GooglemapsDemoView.java";
3535

3636
public GooglemapsDemoView() {
37-
TabbedDemoImpl<GoogleMapsDemo> mapsDemo = new TabbedDemoImpl<GoogleMapsDemo>(new GoogleMapsDemo(), GMAPS_DEMO,
38-
GMAPS_SOURCE);
37+
addDemo(new GoogleMapsDemo(), GMAPS_DEMO, GMAPS_SOURCE);
3938
setSizeFull();
40-
add(mapsDemo);
4139
}
4240
}

0 commit comments

Comments
 (0)