Commit bd722f25 authored by Stephane Nicoll's avatar Stephane Nicoll

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

* pr/13197:
  Make ErrorProperties.whitelabel final
parents afe6abb2 b7fe3a53
...@@ -44,7 +44,7 @@ public class ErrorProperties { ...@@ -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 { ...@@ -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.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment