aboutsummaryrefslogtreecommitdiff
path: root/website/features/Data.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2014-02-10 20:22:33 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2014-02-10 20:22:33 +0100
commit893585f526b852ff5059d279e69927fab0d41d42 (patch)
tree24b1591cd14adfe298542d0d0ac978d7a2abca1e /website/features/Data.html
parent6b0acc9a19cce1c13496d132ce695415780ab52b (diff)
downloadlombok-893585f526b852ff5059d279e69927fab0d41d42.tar.gz
lombok-893585f526b852ff5059d279e69927fab0d41d42.tar.bz2
lombok-893585f526b852ff5059d279e69927fab0d41d42.zip
[i386] documentation update for Data/Value's behaviour in the face of existing constructors.
Diffstat (limited to 'website/features/Data.html')
-rw-r--r--website/features/Data.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/features/Data.html b/website/features/Data.html
index ad3aa892..4d6e5609 100644
--- a/website/features/Data.html
+++ b/website/features/Data.html
@@ -38,7 +38,7 @@
</p><p>
If the class already contains a method with the same name as any method that would normally be generated, that method is not generated, and no warning or
error is emitted. For example, if you already have a method with signature <code>void hashCode(int a, int b, int c)</code>, no <code>int hashCode()</code>
- method will be generated, even though technically <code>int hashCode()</code> is an entirely different method. The same rule applies to the constructor,
+ method will be generated, even though technically <code>int hashCode()</code> is an entirely different method. The same rule applies to the constructor (any explicit constructor will prevent <code>@Data</code> from generating one),
<code>toString</code>, <code>equals</code>, and all getters and setters.
</p><p>
<code>@Data</code> can handle generics parameters for fields just fine. In order to reduce the boilerplate when constructing objects for classes with