mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 16:15:16 +00:00
gave the tests for issue #1397 (generated constructors take @Builder.Default into account) an update.
This commit is contained in:
1 parent
7472672f16
commit
b3771e86f9
6 files changed
+178
-52
No files matched your search
@@ -3,6 +3,8 @@ import lombok.NoArgsConstructor;
|
||||
import lombok.Value;
|
||||
import lombok.Builder;
|
||||
|
||||
@Builder @Value class ConstructorsWithBuilderDefaults {
|
||||
@Builder.Default int x = 5;
|
||||
@Builder @Value class ConstructorsWithBuilderDefaults<T> {
|
||||
@Builder.Default java.util.List<T> z = new java.util.ArrayList<T>();
|
||||
@Builder.Default T x = null;
|
||||
T q;
|
||||
}
|
||||
Reference in new issue
Block a user