diff options
Diffstat (limited to 'usage_examples/EqualsAndHashCodeExample_pre.jpage')
-rw-r--r-- | usage_examples/EqualsAndHashCodeExample_pre.jpage | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usage_examples/EqualsAndHashCodeExample_pre.jpage b/usage_examples/EqualsAndHashCodeExample_pre.jpage index b146f29a..64faf59f 100644 --- a/usage_examples/EqualsAndHashCodeExample_pre.jpage +++ b/usage_examples/EqualsAndHashCodeExample_pre.jpage @@ -9,6 +9,10 @@ public class EqualsAndHashCodeExample { private String[] tags; private int id; + public String getName() { + return this.name; + } + @EqualsAndHashCode(callSuper=true) public static class Square extends Shape { private final int width, height; |