mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +00:00
Merge pull request #1098 from thokrae/ValueDocuFix
fixed example in @Value javadoc
This commit is contained in:
commit
baef6231e4
1 file changed
+1
-1
@@ -49,7 +49,7 @@ public @interface Value {
|
||||
* We suggest the name: "of", like so:
|
||||
*
|
||||
* <pre>
|
||||
* public @Data(staticConstructor = "of") class Point { final int x, y; }
|
||||
* public @Value(staticConstructor = "of") class Point { final int x, y; }
|
||||
* </pre>
|
||||
*
|
||||
* Default: No static constructor, instead the normal constructor is public.
|
||||
|
||||
Reference in new issue
Block a user