aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/ToStringExample_pre.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'usage_examples/ToStringExample_pre.jpage')
-rw-r--r--usage_examples/ToStringExample_pre.jpage4
1 files changed, 4 insertions, 0 deletions
diff --git a/usage_examples/ToStringExample_pre.jpage b/usage_examples/ToStringExample_pre.jpage
index 26b0cfe8..71b23b9d 100644
--- a/usage_examples/ToStringExample_pre.jpage
+++ b/usage_examples/ToStringExample_pre.jpage
@@ -8,6 +8,10 @@ public class ToStringExample {
private String[] tags;
private int id;
+ public String getName() {
+ return this.getName();
+ }
+
@ToString(callSuper=true, includeFieldNames=true)
public static class Square extends Shape {
private final int width, height;