Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Check if the parameter name (constant) value corresponds to the field, e.g.:
public static final String PARAM_MIN_NGRAM_SIZE = "MinNGramSize"; @ConfigurationParameter(name = PARAM_MIN_NGRAM_SIZE, mandatory = true, defaultValue = "1") private int minNGramSize;
It should be possible to generate a warning here because the field is called "minNGramSize" and the parameter name is "MinNGramSize".