Fixed two minor javadoc typos in @Getter and @Value.

(With thanks to Bart Enkelaar)
This commit is contained in:
Reinier Zwitserloot committed 2012-11-12 22:12:35 +01:00
1 parent 7e84f8d1c2
commit e95bb83e06
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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,