Skip to content

Commit 1d29fcf

Browse files
committed
build(demo): update commons-demo dependency to 2.1.0-SNAPSHOT
1 parent 2a50b83 commit 1d29fcf

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<dependency>
116116
<groupId>com.flowingcode.vaadin.addons.demo</groupId>
117117
<artifactId>commons-demo</artifactId>
118-
<version>1.0.0-SNAPSHOT</version>
118+
<version>2.1.0-SNAPSHOT</version>
119119
<scope>test</scope>
120120
</dependency>
121121
</dependencies>

src/test/java/com/flowingcode/vaadin/addons/carousel/CarouselDemoView.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
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

@@ -38,11 +38,11 @@ public class CarouselDemoView extends VerticalLayout {
3838
private static final String BUTTONS_SOURCE = "https://github.com/FlowingCode/CarouselAddon/blob/master/src/test/java/com/flowingcode/vaadin/addons/carousel/SlideButtonsDemo.java";
3939

4040
public CarouselDemoView() {
41-
TabbedDemoImpl<ListenerDemo> carouselDemo = new TabbedDemoImpl<>(new ListenerDemo(), LISTENER_DEMO,
42-
LISTENER_SOURCE);
43-
carouselDemo.addDemo(new AutoProgressDemo(), AUTOPROGRESS_DEMO, AUTPROGRESS_SOURCE);
44-
carouselDemo.addDemo(new SlideButtonsDemo(), BUTTONS_DEMO, BUTTONS_SOURCE);
45-
add(carouselDemo);
41+
TabbedDemo demo = new TabbedDemo();
42+
demo.addDemo(new ListenerDemo(), LISTENER_DEMO, LISTENER_SOURCE);
43+
demo.addDemo(new AutoProgressDemo(), AUTOPROGRESS_DEMO, AUTPROGRESS_SOURCE);
44+
demo.addDemo(new SlideButtonsDemo(), BUTTONS_DEMO, BUTTONS_SOURCE);
45+
add(demo);
4646
setSizeFull();
4747
}
4848
}

0 commit comments

Comments
 (0)