Make ErrorProperties.whitelabel final

Closes gh-13197
This commit is contained in:
Johnny Lim
2018-05-17 15:31:51 +02:00
committed by Stephane Nicoll
parent afe6abb20d
commit b7fe3a5332
@@ -44,7 +44,7 @@ public class ErrorProperties {
*/
private IncludeStacktrace includeStacktrace = IncludeStacktrace.NEVER;
private Whitelabel whitelabel = new Whitelabel();
private final Whitelabel whitelabel = new Whitelabel();
public String getPath() {
return this.path;
@@ -74,10 +74,6 @@ public class ErrorProperties {
return this.whitelabel;
}
public void setWhitelabel(Whitelabel whitelabel) {
this.whitelabel = whitelabel;
}
/**
* Include Stacktrace attribute options.
*/