forked from phoedos/pmd
Use include parameter in ctor.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7178 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
parent
73e3379ffd
commit
f1f375864d
@ -31,7 +31,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Represents a custom-rulesets configuration.
|
||||
* Represents a custom rulesets configuration.
|
||||
*/
|
||||
public class CustomRuleSetSettings implements Serializable {
|
||||
/** The serialVersionUID. */
|
||||
@ -50,13 +50,11 @@ public class CustomRuleSetSettings implements Serializable {
|
||||
public CustomRuleSetSettings( List<String> ruleSets, List classPath, boolean include) {
|
||||
this.ruleSets = ruleSets;
|
||||
this.classPath = classPath;
|
||||
this.includeStdRules = includeStdRules;
|
||||
this.includeStdRules = include;
|
||||
}
|
||||
|
||||
public CustomRuleSetSettings() {
|
||||
ruleSets = new ArrayList<String>();
|
||||
classPath = new ArrayList();
|
||||
includeStdRules = true;
|
||||
this(new ArrayList<String>(), new ArrayList(), true);
|
||||
}
|
||||
|
||||
/** Getter for property ruleSets.
|
||||
@ -107,6 +105,7 @@ public class CustomRuleSetSettings implements Serializable {
|
||||
this.includeStdRules = includeStdRules;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Custom rulesets";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user