fixed SuperBuilder test results, now with generics on self() method

This commit is contained in:
Jan Rieke authored and Roel Spilker committed 2018-08-27 21:38:19 +02:00
1 parent d548879e7d
commit e23cf0bcbe
4 files changed
+8 -8

No files matched your search

@@ -38,7 +38,7 @@ public class SuperBuilderWithGenerics2 {
private ParentBuilderImpl() {
super();
}
protected @java.lang.Override @java.lang.SuppressWarnings("all") ParentBuilderImpl self() {
protected @java.lang.Override @java.lang.SuppressWarnings("all") ParentBuilderImpl<A> self() {
return this;
}
public @java.lang.Override @java.lang.SuppressWarnings("all") Parent<A> build() {
@@ -87,7 +87,7 @@ public class SuperBuilderWithGenerics2 {
private ChildBuilderImpl() {
super();
}
protected @java.lang.Override @java.lang.SuppressWarnings("all") ChildBuilderImpl self() {
protected @java.lang.Override @java.lang.SuppressWarnings("all") ChildBuilderImpl<A> self() {
return this;
}
public @java.lang.Override @java.lang.SuppressWarnings("all") Child<A> build() {