From 9fc02601df84664454ac07a7225d596bb4bc7450 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 5 Nov 2018 21:19:21 +0100 Subject: [website] the usage example for FieldNameConstants was still written in the abandoned 1.18.2 style. --- .../experimental/FieldNameConstantsExample_post.jpage | 8 +++++--- 1 file 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"; + } } -- cgit