mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 16:14:46 +00:00
[trivial] typos in javadoc
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
}
|
||||
@@ -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})
|
||||
|
||||
Reference in new issue
Block a user