aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples/ToStringExample_pre.jpage
diff options
context:
space:
mode:
Diffstat (limited to 'website/usageExamples/ToStringExample_pre.jpage')
-rw-r--r--website/usageExamples/ToStringExample_pre.jpage4
1 files changed, 2 insertions, 2 deletions
diff --git a/website/usageExamples/ToStringExample_pre.jpage b/website/usageExamples/ToStringExample_pre.jpage
index 39b25892..1b6b58e0 100644
--- a/website/usageExamples/ToStringExample_pre.jpage
+++ b/website/usageExamples/ToStringExample_pre.jpage
@@ -1,12 +1,12 @@
import lombok.ToString;
-@ToString(exclude="id")
+@ToString
public class ToStringExample {
private static final int STATIC_VAR = 10;
private String name;
private Shape shape = new Square(5, 10);
private String[] tags;
- private int id;
+ @ToString.Exclude private int id;
public String getName() {
return this.name;