aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-11-05 21:19:21 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-11-05 21:19:21 +0100
commit9fc02601df84664454ac07a7225d596bb4bc7450 (patch)
tree51f5d14cfc5056a745003807b90e1b7dd520d214
parent4acda73319e95c4caf472ca47183af57a1bc9fd1 (diff)
downloadlombok-9fc02601df84664454ac07a7225d596bb4bc7450.tar.gz
lombok-9fc02601df84664454ac07a7225d596bb4bc7450.tar.bz2
lombok-9fc02601df84664454ac07a7225d596bb4bc7450.zip
[website] the usage example for FieldNameConstants was still written in the abandoned 1.18.2 style.
-rw-r--r--website/usageExamples/experimental/FieldNameConstantsExample_post.jpage8
1 files changed, 5 insertions, 3 deletions
diff --git a/website/usageExamples/experimental/FieldNameConstantsExample_post.jpage b/website/usageExamples/experimental/FieldNameConstantsExample_post.jpage
index 67d89891..3a311746 100644
--- a/website/usageExamples/experimental/FieldNameConstantsExample_post.jpage
+++ b/website/usageExamples/experimental/FieldNameConstantsExample_post.jpage
@@ -1,7 +1,9 @@
public class FieldNameConstantsExample {
- public static final String FIELD_I_AM_A_FIELD = "iAmAField";
- static final String FIELD_AND_SO_AM_I = "andSoAmI";
-
private final String iAmAField;
private final int andSoAmI;
+
+ public static final class Fields {
+ public static final String iAmAField = "IAmAField";
+ static final String andSoAmI = "andSoAmI";
+ }
}