aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2015-10-07 17:56:45 +0200
committerRoel Spilker <r.spilker@gmail.com>2015-10-07 17:56:45 +0200
commitbe2dfb3d9de2336657481d473bf69c275c4b7437 (patch)
treec80a47a580cc7a2e09512b2e7a57b6d9a755591a
parentc9399b59113027e869e0f716b83d991755bdbd5c (diff)
parente374ad19910322ac4829877aa36e024fb612e916 (diff)
downloadlombok-be2dfb3d9de2336657481d473bf69c275c4b7437.tar.gz
lombok-be2dfb3d9de2336657481d473bf69c275c4b7437.tar.bz2
lombok-be2dfb3d9de2336657481d473bf69c275c4b7437.zip
Merge pull request #893 from yunspace/master
Updated @Value Java doc to @AllArgsConstructor
-rw-r--r--AUTHORS1
-rw-r--r--src/core/lombok/Value.java4
2 files changed, 3 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index d5e35ed5..0aaf9290 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -13,5 +13,6 @@ Robbert Jan Grootjans <grootjans@gmail.com>
Roel Spilker <r.spilker@gmail.com>
Sander Koning <askoning@gmail.com>
Taiki Sugawara <buzz.taiki@gmail.com>
+Yun Zhi Lin <yun@yunspace.com>
By adding your name to this list, you grant full and irrevocable copyright and patent indemnity to Project Lombok and all use of Project Lombok, and you certify that you have the right to do so for all commits you add to Project Lombok.
diff --git a/src/core/lombok/Value.java b/src/core/lombok/Value.java
index 389d2b36..2cecea63 100644
--- a/src/core/lombok/Value.java
+++ b/src/core/lombok/Value.java
@@ -29,13 +29,13 @@ import java.lang.annotation.Target;
/**
* Generates a lot of code which fits with a class that is a representation of an immutable entity.
* <p>
- * Equivalent to {@code @Getter @FieldDefaults(makeFinal=true, level=AccessLevel.PRIVATE) @RequiredArgsConstructor @ToString @EqualsAndHashCode}.
+ * Equivalent to {@code @Getter @FieldDefaults(makeFinal=true, level=AccessLevel.PRIVATE) @AllArgsConstructor @ToString @EqualsAndHashCode}.
* <p>
* Complete documentation is found at <a href="https://projectlombok.org/features/experimental/Value.html">the project lombok features page for &#64;Value</a>.
*
* @see lombok.Getter
* @see lombok.experimental.FieldDefaults
- * @see lombok.RequiredArgsConstructor
+ * @see lombok.AllArgsConstructor
* @see lombok.ToString
* @see lombok.EqualsAndHashCode
* @see lombok.Data