Commit 31a9932e authored by Romain Bioteau's avatar Romain Bioteau
Browse files

test compilation of generic builders

parent 1830d24b
......@@ -26,8 +26,8 @@ import;
public class DataBuilder<T extends Data, B extends DataBuilder<T, B>> extends ElementBuilder<T, B> {
public static DataBuilder<?, ?> create() {
return new DataBuilder();
public static <B extends DataBuilder<Data, B>> DataBuilder<Data, B> create() {
return new DataBuilder<Data, B>();
public B withDatasourceId(final String datasourceId) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment