aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/GetterSetterExample_post.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'usage_examples/GetterSetterExample_post.jpage')
-rw-r--r--usage_examples/GetterSetterExample_post.jpage2
1 files changed, 1 insertions, 1 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() {