Commit 21fb5d3f authored by Romain Bioteau's avatar Romain Bioteau
Browse files

generic builders

parent 4c48b0c9
......@@ -29,7 +29,7 @@ import org.bonitasoft.studio.model.process.ProcessFactory;
public class ActivityBuilder<T extends Activity, B extends ActivityBuilder<T, B>> extends FlowElementBuilder<T, B> {
@SuppressWarnings("rawtypes")
public static ActivityBuilder create() {
public static ActivityBuilder<?, ?> create() {
return new ActivityBuilder();
}
......
......@@ -26,7 +26,7 @@ import org.bonitasoft.studio.model.process.ProcessFactory;
public class JavaObjectDataBuilder<T extends JavaObjectData, B extends JavaObjectDataBuilder<T, B>> extends DataBuilder<T, B> {
@SuppressWarnings("rawtypes")
public static JavaObjectDataBuilder create() {
public static JavaObjectDataBuilder<?, ?> create() {
return new JavaObjectDataBuilder();
}
......
Supports Markdown
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