Changed the order of name and age in the toString method

This commit is contained in:
Roel Spilker
2009-07-18 02:35:05 +02:00
parent bc35f73ae8
commit ffec3c35f3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
}
}