diff options
Diffstat (limited to 'test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java')
-rw-r--r-- | test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java b/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java index 6dd06fb7..2b294d65 100644 --- a/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java +++ b/test/transform/resource/after-ecj/SuperBuilderBasicToBuilder.java @@ -82,7 +82,7 @@ public class SuperBuilderBasicToBuilder { public ChildBuilder() {
super();
}
- protected @java.lang.Override @java.lang.SuppressWarnings("all") B $fillValuesFrom(C instance) {
+ protected @java.lang.Override @java.lang.SuppressWarnings("all") B $fillValuesFrom(final C instance) {
super.$fillValuesFrom(instance);
field3(instance.field3);
return self();
@@ -120,10 +120,10 @@ public class SuperBuilderBasicToBuilder { return new ChildBuilderImpl().$fillValuesFrom(this);
}
}
- public SuperBuilderBasic() {
+ public SuperBuilderBasicToBuilder() {
super();
}
public static void test() {
- Child x = Child.builder().field3(0.0).field1(5).item("").build();
+ Child x = Child.builder().field3(0.0).field1(5).item("").build().toBuilder().build();
}
}
|