Merge pull request #13197 from izeye:polish-20180517-2nd

* pr/13197:
  Make ErrorProperties.whitelabel final
This commit is contained in:
Stephane Nicoll 2018-05-17 15:32:10 +02:00
commit bd722f257d
1 changed files with 1 additions and 5 deletions

View File

@ -44,7 +44,7 @@ public class ErrorProperties {
*/ */
private IncludeStacktrace includeStacktrace = IncludeStacktrace.NEVER; private IncludeStacktrace includeStacktrace = IncludeStacktrace.NEVER;
private Whitelabel whitelabel = new Whitelabel(); private final Whitelabel whitelabel = new Whitelabel();
public String getPath() { public String getPath() {
return this.path; return this.path;
@ -74,10 +74,6 @@ public class ErrorProperties {
return this.whitelabel; return this.whitelabel;
} }
public void setWhitelabel(Whitelabel whitelabel) {
this.whitelabel = whitelabel;
}
/** /**
* Include Stacktrace attribute options. * Include Stacktrace attribute options.
*/ */