When using a constant to refer to a property, this is typically done to avoid typos and add configuration. Keeping such constants non-public is counterproductive, as it forces people to revert to manually typing the property name (and typically hides javadoc).
Constants that are used to store property names should be publicly accessible.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: