Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaneberly committed May 11, 2018
1 parent f766329 commit a40627b
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions src/main/java/com/cflint/config/CFLintConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,12 @@
@JsonIgnoreProperties(ignoreUnknown = true)
public class CFLintConfig extends BaseConfig {

@Deprecated
private List<ConfigOutput> output = new ArrayList<>();
private List<CFLintPluginInfo.PluginInfoRule> rules = new ArrayList<>();
private List<PluginMessage> excludes = new ArrayList<>();
private List<PluginMessage> includes = new ArrayList<>();
private HashMap<String,Object> parameters = new HashMap<>();

private boolean inheritParent = true;
@Deprecated
private boolean inheritPlugins = true;

/*
* (non-Javadoc)
*
* @see com.cflint.config.CFLintConfiguration#getOutput()
*/
@Deprecated
public List<ConfigOutput> getOutput() {
return output;
}

@XmlElement(name = "output")
@Deprecated
public void setOutput(final List<ConfigOutput> output) {
System.err.println(
"DEPRECATED: The use of \"output\" have been marked as deprecated in CFLint 1.2.x and support for them will be fully removed in CFLint 1.4.0. Please remove the settings from your configuration file(s). Run CFLint in verbose mode for config file location details.");
this.output = output;
}

public HashMap<String,Object> getParameters() {
return parameters;
Expand Down Expand Up @@ -109,20 +87,6 @@ public void setInheritParent(final boolean inheritParent) {
this.inheritParent = inheritParent;
}

@Deprecated
public boolean isInheritPlugins() {
return inheritPlugins;
}

@XmlAttribute(name = "inheritPlugins")
@Deprecated
public void setInheritPlugins(final boolean inheritPlugins) {
// #315 --- inheritPlugins can not be overwritten to false in 1.2.0 --- will be fully removed in 1.4.0 (but will then break people's setup if the setting remains in .cflintrc or the xml config
System.err.println(
"DEPRECATED: The use of \"inheritPlugins\" have been marked as deprecated in CFLint 1.2.x and support for them will be fully removed in CFLint 1.4.0. Please remove the settings from your configuration file(s). Run CFLint in verbose mode for config file location details.");
this.inheritPlugins = true;
}

public static class ConfigOutput {

private String name;
Expand Down

0 comments on commit a40627b

Please sign in to comment.