diff options
Diffstat (limited to 'website')
-rw-r--r-- | website/usageExamples/experimental/FieldNameConstantsExample_post.jpage | 8 |
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"; + } } |