diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-05-29 00:17:35 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-06-23 15:55:17 +0200 |
commit | 22ac024abb3680b298bef78052f5a13239513b29 (patch) | |
tree | fe2d9ae5d6ad0a0e5c5abcf68ff08b36b5aa5651 /src/core | |
parent | ed8ea0d8043cb8df6ae3fb962ab3a2087f4adeb6 (diff) | |
download | lombok-22ac024abb3680b298bef78052f5a13239513b29.tar.gz lombok-22ac024abb3680b298bef78052f5a13239513b29.tar.bz2 lombok-22ac024abb3680b298bef78052f5a13239513b29.zip |
[trivial] typos in javadoc
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lombok/Singular.java | 2 | ||||
-rw-r--r-- | src/core/lombok/experimental/WithBy.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/Singular.java b/src/core/lombok/Singular.java index 2ceaad58..08b53973 100644 --- a/src/core/lombok/Singular.java +++ b/src/core/lombok/Singular.java @@ -36,6 +36,6 @@ public @interface Singular { /** @return The singular name of this field. If it's a normal english plural, lombok will figure it out automatically. Otherwise, this parameter is mandatory. */ String value() default ""; - /** @return If true, the plural variant (which takes a collection and adds each element inside) will treat {@code null} as an empty collection, i.e. do nothing. If {@code false) (the default), it is null checked as if annotated with {@code @lombok.NonNull}. */ + /** @return If true, the plural variant (which takes a collection and adds each element inside) will treat {@code null} as an empty collection, i.e. do nothing. If {@code false} (the default), it is null checked as if annotated with {@code @lombok.NonNull}. */ boolean ignoreNullCollections() default false; } diff --git a/src/core/lombok/experimental/WithBy.java b/src/core/lombok/experimental/WithBy.java index 10155b91..6b16a5e6 100644 --- a/src/core/lombok/experimental/WithBy.java +++ b/src/core/lombok/experimental/WithBy.java @@ -76,7 +76,7 @@ import lombok.AccessLevel; * but with {@code @WithBy}, you'd write: * * <pre> - * movie = movie.withDirectorBy(d -> d.withBirthDateBy(bd -> bd.plusDays(1))); + * movie = movie.withDirectorBy(d -> d.withBirthDateBy(bd -> bd.plusDays(1))); * </pre> */ @Target({ElementType.FIELD, ElementType.TYPE}) |