Renamed to CHECK_UNUSED_FIELDS_PROP to allow for CHECK_UNUSED_METHODS_PROP in

the future. Not this release.
This commit is contained in:
Oliver Burn 2002-09-08 07:50:02 +00:00
parent 7f06106f4e
commit 9ef57a9502
2 changed files with 3 additions and 3 deletions

View File

@ -592,7 +592,7 @@ public class Configuration
/** @return whether to check unused fields **/
boolean isCheckUnusedFields()
{
return getBooleanProperty(Defn.FIELDS_CHECK_UNUSED_PROP);
return getBooleanProperty(Defn.CHECK_UNUSED_FIELDS_PROP);
}
/** @return Set of pkg prefixes that are illegal in import statements */

View File

@ -126,7 +126,7 @@ public interface Defn
/** property name for wrapping lines on operators **/
String WRAP_OP_PROP = "checkstyle.wrap.operator";
/** property name for checking for unused fields **/
String FIELDS_CHECK_UNUSED_PROP = "checkstyle.fields.checkUnused";
String CHECK_UNUSED_FIELDS_PROP = "checkstyle.checkUnused.fields";
/** property name for the locale language for reporting **/
String LOCALE_LANGUAGE_PROP = "checkstyle.locale.language";
@ -151,7 +151,7 @@ public interface Defn
JAVADOC_CHECK_UNUSED_THROWS_PROP,
REQUIRE_PACKAGE_HTML_PROP,
REQUIRE_VERSION_PROP,
FIELDS_CHECK_UNUSED_PROP,
CHECK_UNUSED_FIELDS_PROP,
};
/** All the properties that are a regulare expression */