aboutsummaryrefslogtreecommitdiff
path: root/website/features/Constructor.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2015-11-22 22:39:27 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2015-11-22 22:39:27 +0100
commite05feead3fdd912fbc9f034f922d4d28df2104e7 (patch)
tree83437e12e1e95b09c27a0d2f33e54970291f7d61 /website/features/Constructor.html
parentd41f1b5d3f08b663e4f75b52107d52b19ccf20e5 (diff)
downloadlombok-e05feead3fdd912fbc9f034f922d4d28df2104e7.tar.gz
lombok-e05feead3fdd912fbc9f034f922d4d28df2104e7.tar.bz2
lombok-e05feead3fdd912fbc9f034f922d4d28df2104e7.zip
[Fixes #974] typo in the website docs for Constructor.html
Diffstat (limited to 'website/features/Constructor.html')
-rw-r--r--website/features/Constructor.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/features/Constructor.html b/website/features/Constructor.html
index d7168372..68f472f9 100644
--- a/website/features/Constructor.html
+++ b/website/features/Constructor.html
@@ -37,7 +37,7 @@
To put annotations on the generated constructor, you can use <code>onConstructor=@__({@AnnotationsHere})</code>, but be careful; this is an experimental feature. For more details see the documentation on the <a href="experimental/onX.html">onX</a> feature.
</p><p>
Static fields are skipped by these annotations. Also, a <code>@java.beans.ConstructorProperties</code> annotation is added for all constructors with at least 1 argument,
- which allows bean editor tools to call the generated constructors. <code>@ConstructorProperties</code> is now in Java 1.6, which means that if your code is intended for
+ which allows bean editor tools to call the generated constructors. <code>@ConstructorProperties</code> is new in Java 1.6, which means that if your code is intended for
compilation on Java 1.5, a compiler error will occur. <em>Running</em> on a JVM 1.5 should be no problem (the annotation will be ignored). To suppress the generation of
the <code>@ConstructorProperties</code> annotation, add a parameter to your annotation: <code>@AllArgsConstructor(suppressConstructorProperties=true)</code>. However,
as java 1.5, which has already been end-of-lifed, fades into obscurity, this parameter will eventually be removed. It has also been marked deprecated for this reason.