aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ValueStaticConstructorOf.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-31 15:58:19 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-31 15:58:19 +0100
commit3f0fec18726fb9c9f4dce614dbcfa650c1c04bf7 (patch)
treed03abb38a198bbe5417e3aa1e1f7c55b03f32e63 /test/transform/resource/before/ValueStaticConstructorOf.java
parentc42bfbae39990b365a5f05eb23895da6203023bc (diff)
downloadlombok-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.java13
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;
+ }
}