aboutsummaryrefslogtreecommitdiff
path: root/usage_examples
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-07-18 02:35:05 +0200
committerRoel Spilker <r.spilker@gmail.com>2009-07-18 02:35:05 +0200
commitffec3c35f3c65c766acc34a363fcb237f0b2e899 (patch)
tree7cb910c814f973d8f300f303d4b02aa44b650bd5 /usage_examples
parentbc35f73ae80802ab6758509481dacd66c5dc3285 (diff)
downloadlombok-ffec3c35f3c65c766acc34a363fcb237f0b2e899.tar.gz
lombok-ffec3c35f3c65c766acc34a363fcb237f0b2e899.tar.bz2
lombok-ffec3c35f3c65c766acc34a363fcb237f0b2e899.zip
Changed the order of name and age in the toString method
Diffstat (limited to 'usage_examples')
-rw-r--r--usage_examples/GetterSetterExample_post.jpage2
-rw-r--r--usage_examples/GetterSetterExample_pre.jpage2
2 files changed, 2 insertions, 2 deletions
diff --git a/usage_examples/GetterSetterExample_post.jpage b/usage_examples/GetterSetterExample_post.jpage
index b0921b86..b99ba7e1 100644
--- a/usage_examples/GetterSetterExample_post.jpage
+++ b/usage_examples/GetterSetterExample_post.jpage
@@ -3,7 +3,7 @@ public class GetterSetterExample {
private String name;
@Override public String toString() {
- return String.format("%s (age: %d)", age, name);
+ return String.format("%s (age: %d)", name, age);
}
public int getAge() {
diff --git a/usage_examples/GetterSetterExample_pre.jpage b/usage_examples/GetterSetterExample_pre.jpage
index 0da1d2e2..c40ec106 100644
--- a/usage_examples/GetterSetterExample_pre.jpage
+++ b/usage_examples/GetterSetterExample_pre.jpage
@@ -7,6 +7,6 @@ public class GetterSetterExample {
private @Setter(AccessLevel.PROTECTED) String name;
@Override public String toString() {
- return String.format("%s (age: %d)", age, name);
+ return String.format("%s (age: %d)", name, age);
}
}