aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/GetterSetterExample_pre.jpage
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-07-28 17:38:26 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-07-28 17:41:56 +0200
commitfb6be45d2bcb97e0e0288ba81a602679c7bedc46 (patch)
treea5495fdf2769d06714b5eb96e203b33430513450 /usage_examples/GetterSetterExample_pre.jpage
parente744f1829adf95f3b54fa54d813eb26c4c8e8c76 (diff)
downloadlombok-fb6be45d2bcb97e0e0288ba81a602679c7bedc46.tar.gz
lombok-fb6be45d2bcb97e0e0288ba81a602679c7bedc46.tar.bz2
lombok-fb6be45d2bcb97e0e0288ba81a602679c7bedc46.zip
Added website feature documentation for @ToString and @EqualsAndHashCode, and modified the docs for @Data to refer to the docs of these new annotations.
The build script for the website has been updated to clean out the website build dir first, so files that used to exist but have now been tossed are no longer there. There's also a special website-no-videos target which builds a website deployable without the videos. This makes the upload a lot faster if the videos haven't changed.
Diffstat (limited to 'usage_examples/GetterSetterExample_pre.jpage')
-rw-r--r--usage_examples/GetterSetterExample_pre.jpage4
1 files changed, 2 insertions, 2 deletions
diff --git a/usage_examples/GetterSetterExample_pre.jpage b/usage_examples/GetterSetterExample_pre.jpage
index c40ec106..9ef0532c 100644
--- a/usage_examples/GetterSetterExample_pre.jpage
+++ b/usage_examples/GetterSetterExample_pre.jpage
@@ -3,8 +3,8 @@ import lombok.Getter;
import lombok.Setter;
public class GetterSetterExample {
- private @Getter @Setter int age = 10;
- private @Setter(AccessLevel.PROTECTED) String name;
+ @Getter @Setter private int age = 10;
+ @Setter(AccessLevel.PROTECTED) private String name;
@Override public String toString() {
return String.format("%s (age: %d)", name, age);