Drop ShellProperties.setAdditionalProperties

Drop the setAdditionalProperties method from ShellProperties to ensure
that it is not included in the meta-data JSON. The additional properties
are usually wired in using @Autowired and it is pretty unlikely that
anyone is using the setter directly.

Fixes gh-2055
This commit is contained in:
Phillip Webb 2014-12-03 10:23:14 -08:00
parent 9e394eac22
commit d7c61ef01c
1 changed files with 0 additions and 5 deletions

View File

@ -94,11 +94,6 @@ public class ShellProperties {
return this.auth;
}
public void setAdditionalProperties(CrshShellProperties[] additionalProperties) {
Assert.notNull(additionalProperties, "additionalProperties must not be null");
this.additionalProperties = additionalProperties;
}
public CrshShellProperties[] getAdditionalProperties() {
return this.additionalProperties;
}