diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-10-25 15:01:28 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-10-25 15:01:28 +0200 |
commit | 782daa49979c35cd93139b3cfbc98eafe346f790 (patch) | |
tree | a8f81b23c872fd76164b2d83f6a0448dca529745 /website/features/Data.html | |
parent | c402dd86379e532895f73ee209c432f84bb5f421 (diff) | |
download | lombok-782daa49979c35cd93139b3cfbc98eafe346f790.tar.gz lombok-782daa49979c35cd93139b3cfbc98eafe346f790.tar.bz2 lombok-782daa49979c35cd93139b3cfbc98eafe346f790.zip |
Again made @NotNull have no special meaning.
See issues 43, 271, and 287.
Diffstat (limited to 'website/features/Data.html')
-rw-r--r-- | website/features/Data.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/features/Data.html b/website/features/Data.html index 03f6eb2a..e54b2de6 100644 --- a/website/features/Data.html +++ b/website/features/Data.html @@ -21,7 +21,7 @@ and <a href="Constructor.html"><code>@RequiredArgsConstructor</code></a> together: In other words, <code>@Data</code> generates <em>all</em> the boilerplate that is normally associated with simple POJOs (Plain Old Java Objects) and beans: getters for all fields, setters for all non-final fields, and appropriate <code>toString</code>, <code>equals</code> and <code>hashCode</code> implementations that involve the fields of the class, and a constructor that - initializes all final fields, as well as all non-final fields with no initializer that have been marked with <code>@NonNull</code> or <code>@NotNull</code>, + initializes all final fields, as well as all non-final fields with no initializer that have been marked with <code>@NonNull</code>, in order to ensure the field is never null. </p><p> <code>@Data</code> is like having implicit <code>@Getter</code>, <code>@Setter</code>, <code>@ToString</code>, <code>@EqualsAndHashCode</code> and <code>@RequiredArgsConstructor</code> |