diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-31 15:58:19 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-01-31 15:58:19 +0100 |
commit | 3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7 (patch) | |
tree | d03abb38a198bbe5417e3aa1e1f7c55b03f32e63 /test/transform/resource/before/ValueStaticConstructorOf.java | |
parent | c42bfbae39990b365a5f05eb23895da6203023bc (diff) | |
download | lombok-3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7.tar.gz lombok-3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7.tar.bz2 lombok-3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7.zip |
[issue #788] Add more nullity annotations where relevant
(chainable setters, static constructors, builder stuff)
Diffstat (limited to 'test/transform/resource/before/ValueStaticConstructorOf.java')
-rw-r--r-- | test/transform/resource/before/ValueStaticConstructorOf.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/test/transform/resource/before/ValueStaticConstructorOf.java b/test/transform/resource/before/ValueStaticConstructorOf.java index ac857ffd..bd318d40 100644 --- a/test/transform/resource/before/ValueStaticConstructorOf.java +++ b/test/transform/resource/before/ValueStaticConstructorOf.java @@ -1,12 +1,11 @@ import lombok.Value; @Value(staticConstructor = "of") public class ValueStaticConstructorOf { + String name; + Double price; - String name; - Double price; - - private ValueStaticConstructorOf(String name, Double price) { - this.name = name; - this.price = price; - } + private ValueStaticConstructorOf(String name, Double price) { + this.name = name; + this.price = price; + } } |