Skip to content

Commit 236a1f4

Browse files
committed
Reintroduce type parameter and constructor in TabbedDemoImpl for compatibility with version 1.0.0
1 parent 9415cc9 commit 236a1f4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/java/com/flowingcode/vaadin/addons/demo/impl/TabbedDemoImpl.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@
2020
package com.flowingcode.vaadin.addons.demo.impl;
2121

2222
import com.flowingcode.vaadin.addons.demo.TabbedDemo;
23+
import com.vaadin.flow.component.Component;
2324

2425
@SuppressWarnings("serial")
2526
@Deprecated
26-
public class TabbedDemoImpl extends TabbedDemo {
27+
public class TabbedDemoImpl<T> extends TabbedDemo {
28+
29+
public TabbedDemoImpl(Component demo, String name, String sourceCodeUrl) {
30+
addDemo(demo, name, sourceCodeUrl);
31+
}
2732

2833
}

0 commit comments

Comments
 (0)