diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-02 13:38:58 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-02 13:38:58 +0100 |
| commit | b377ed25b102b5f0fa3ee870e694442d7a280134 (patch) | |
| tree | 8cee527d297ff9cc8b4107395701b3b76460503c /examples/03-list/output | |
| parent | cdee6e9c77496cc6873565462b949dc543d5822b (diff) | |
Generate add methods for Java builders when field has list type
Diffstat (limited to 'examples/03-list/output')
| -rw-r--r-- | examples/03-list/output/java/src/main/java/org/zwobble/example/Main.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/03-list/output/java/src/main/java/org/zwobble/example/Main.java b/examples/03-list/output/java/src/main/java/org/zwobble/example/Main.java index 28fd87c..4cfb23f 100644 --- a/examples/03-list/output/java/src/main/java/org/zwobble/example/Main.java +++ b/examples/03-list/output/java/src/main/java/org/zwobble/example/Main.java @@ -12,10 +12,8 @@ public class Main { )); Path path2 = Path.arbitrary() - .withPoints(List.of( - new Point(10, 25), - new Point(25, 10) - )) + .addPoint(new Point(10, 25)) + .addPoint(new Point(25, 10)) .build(); } } |
