mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 18:15:55 +00:00
Fixed two minor javadoc typos in @Getter and @Value.
(With thanks to Bart Enkelaar)
This commit is contained in:
1 parent
7e84f8d1c2
commit
e95bb83e06
2 files changed
+2
-2
No files matched your search
@@ -55,7 +55,7 @@ import java.lang.annotation.Target;
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface Getter {
|
||||
/**
|
||||
* If you want your setter to be non-public, you can specify an alternate access level here.
|
||||
* If you want your getter to be non-public, you can specify an alternate access level here.
|
||||
*/
|
||||
lombok.AccessLevel value() default lombok.AccessLevel.PUBLIC;
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ import java.lang.annotation.Target;
|
||||
* In other words, {@code @Value} is a shorthand for:<br />
|
||||
* {@code final @Getter @Wither @FieldDefaults(makeFinal=true,level=AccessLevel.PRIVATE) @EqualsAndHashCode @ToString @AllArgsConstructor}.
|
||||
* <p>
|
||||
* If any method to be generated already exists (in name and parameter c ount - the return type or parameter types are not relevant), then
|
||||
* If any method to be generated already exists (in name and parameter count - the return type or parameter types are not relevant), then
|
||||
* that method will not be generated by the Value annotation.
|
||||
* <p>
|
||||
* The generated constructor will have 1 parameter for each field. The generated toString will print all fields,
|
||||
|
||||
Reference in new issue
Block a user