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:
parent
9e394eac22
commit
d7c61ef01c
|
|
@ -94,11 +94,6 @@ public class ShellProperties {
|
||||||
return this.auth;
|
return this.auth;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAdditionalProperties(CrshShellProperties[] additionalProperties) {
|
|
||||||
Assert.notNull(additionalProperties, "additionalProperties must not be null");
|
|
||||||
this.additionalProperties = additionalProperties;
|
|
||||||
}
|
|
||||||
|
|
||||||
public CrshShellProperties[] getAdditionalProperties() {
|
public CrshShellProperties[] getAdditionalProperties() {
|
||||||
return this.additionalProperties;
|
return this.additionalProperties;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue