diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-27 22:26:36 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-27 22:26:36 +0100 |
commit | fc04b74c67f05b1ba099275645b75e6373ac3b5a (patch) | |
tree | 839e6dae01ae9d893b8444e4f999301c67fafc70 /website/templates/features/Value.html | |
parent | 75f522749bc31f61d136dadd92731fdfe1eb796d (diff) | |
download | lombok-fc04b74c67f05b1ba099275645b75e6373ac3b5a.tar.gz lombok-fc04b74c67f05b1ba099275645b75e6373ac3b5a.tar.bz2 lombok-fc04b74c67f05b1ba099275645b75e6373ac3b5a.zip |
[fixes #2377] documentation about configkey lombok.noArgsConstructor.extraPrivate was incorrect
Diffstat (limited to 'website/templates/features/Value.html')
-rw-r--r-- | website/templates/features/Value.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/website/templates/features/Value.html b/website/templates/features/Value.html index f6ef9403..c41b6b10 100644 --- a/website/templates/features/Value.html +++ b/website/templates/features/Value.html @@ -30,9 +30,9 @@ </dt><dd> Lombok will flag any usage of <code>@Value</code> as a warning or error if configured. </dd><dt> - <code>lombok.val.flagUsage</code> = [<code>warning</code> | <code>error</code>] (default: not set) + <code>lombok.noArgsConstructor.extraPrivate</code> = [<code>true</code> | <code>false</code>] (default: false) </dt><dd> - Lombok will flag any usage of <code>val</code> as a warning or error if configured. + If <code>true</code>, lombok will generate a private no-args constructor for any <code>@Value</code> annotated class, which sets all fields to default values (null / 0 / false). </dd> </@f.confKeys> |