aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-11-12 21:30:23 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-11-12 21:30:23 +0100
commit94d11d89a79d6cb417bac8261449c3f895f84990 (patch)
tree81ff9b488f3f716eee1f3b59429e70c348cba3d5 /website/usageExamples
parentdb19327cb4b9f5a08665b85d4cb953118ce69c13 (diff)
downloadlombok-94d11d89a79d6cb417bac8261449c3f895f84990.tar.gz
lombok-94d11d89a79d6cb417bac8261449c3f895f84990.tar.bz2
lombok-94d11d89a79d6cb417bac8261449c3f895f84990.zip
[issue #1938] addressing some small issues with the documentation.
Diffstat (limited to 'website/usageExamples')
-rw-r--r--website/usageExamples/experimental/FieldNameConstantsExample_post.jpage5
-rw-r--r--website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage2
2 files changed, 4 insertions, 3 deletions
diff --git a/website/usageExamples/experimental/FieldNameConstantsExample_post.jpage b/website/usageExamples/experimental/FieldNameConstantsExample_post.jpage
index 3a311746..e1366734 100644
--- a/website/usageExamples/experimental/FieldNameConstantsExample_post.jpage
+++ b/website/usageExamples/experimental/FieldNameConstantsExample_post.jpage
@@ -1,9 +1,10 @@
public class FieldNameConstantsExample {
private final String iAmAField;
private final int andSoAmI;
+ private final int asAmI;
public static final class Fields {
- public static final String iAmAField = "IAmAField";
- static final String andSoAmI = "andSoAmI";
+ public static final String iAmAField = "iAmAField";
+ public static final String andSoAmI = "andSoAmI";
}
}
diff --git a/website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage b/website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage
index dc6376eb..b462867b 100644
--- a/website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage
+++ b/website/usageExamples/experimental/FieldNameConstantsExample_pre.jpage
@@ -4,6 +4,6 @@ import lombok.AccessLevel;
@FieldNameConstants
public class FieldNameConstantsExample {
private final String iAmAField;
- @FieldNameConstants(level = AccessLevel.PACKAGE)
private final int andSoAmI;
+ @FieldNameConstants.Exclude private final int asAmI;
}