[trivial] typos in javadoc

This commit is contained in:
Reinier Zwitserloot committed 2020-06-23 15:55:17 +02:00
1 parent ed8ea0d804
commit 22ac024abb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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 -&gt; d.withBirthDateBy(bd -&gt; bd.plusDays(1)));
* </pre>
*/
@Target({ElementType.FIELD, ElementType.TYPE})