diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-08-20 23:56:36 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-08-20 23:57:33 +0200 |
commit | 613ecb091054fe0a2aad304226717be20ec2cf83 (patch) | |
tree | b17ca7d69e8d8acf5d5471ce5b92aeb1db3dae8d /website/templates/features/Builder.html | |
parent | 7dfbe4323c15cbd88983380b27a250d2a381d148 (diff) | |
download | lombok-613ecb091054fe0a2aad304226717be20ec2cf83.tar.gz lombok-613ecb091054fe0a2aad304226717be20ec2cf83.tar.bz2 lombok-613ecb091054fe0a2aad304226717be20ec2cf83.zip |
[docs] typo-fixes
Diffstat (limited to 'website/templates/features/Builder.html')
-rw-r--r-- | website/templates/features/Builder.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/templates/features/Builder.html b/website/templates/features/Builder.html index f9897d03..1b6c6e62 100644 --- a/website/templates/features/Builder.html +++ b/website/templates/features/Builder.html @@ -132,7 +132,7 @@ </li> </ul> </p><p> - If your identifiers are written in common english, lombok assumes that the name of any collection with <code>@Singular</code> on it is an english plural and will attempt to automatically singularize that name. If this is possible, the add-one method will use this name. For example, if your collection is called <code>statuses</code>, then the add-one method will automatically be called <code>status</code>. You can also specify the singular form of your identifier explictly by passing the singular form as argument to the annotation like so: <code>@Singular("axis") List<Line> axes;</code>.<br /> + If your identifiers are written in common english, lombok assumes that the name of any collection with <code>@Singular</code> on it is an english plural and will attempt to automatically singularize that name. If this is possible, the add-one method will use this name. For example, if your collection is called <code>statuses</code>, then the add-one method will automatically be called <code>status</code>. You can also specify the singular form of your identifier explicitly by passing the singular form as argument to the annotation like so: <code>@Singular("axis") List<Line> axes;</code>.<br /> If lombok cannot singularize your identifier, or it is ambiguous, lombok will generate an error and force you to explicitly specify the singular name. </p><p> The snippet below does not show what lombok generates for a <code>@Singular</code> field/parameter because it is rather complicated. You can view a snippet <a href="builderSingular">here</a>. |