mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 18:15:55 +00:00
[website] the usage example for FieldNameConstants was still written in the abandoned 1.18.2 style.
This commit is contained in:
1 parent
4acda73319
commit
9fc02601df
1 file changed
+5
-3
@@ -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";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user