diff options
-rw-r--r-- | usage_examples/GetterSetterExample_post.jpage | 2 | ||||
-rw-r--r-- | usage_examples/GetterSetterExample_pre.jpage | 2 |
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); } } |