See gh-4419
This commit is contained in:
Phillip Webb
2015-11-10 09:52:13 -08:00
parent 3311419a08
commit 0bac6ebda7

View File

@@ -41,7 +41,7 @@ public abstract class AbstractEndpoint<T> implements Endpoint<T>, EnvironmentAwa
@Pattern(regexp = "\\w+", message = "ID must only contains letters, numbers and '_'") @Pattern(regexp = "\\w+", message = "ID must only contains letters, numbers and '_'")
private String id; private String id;
private final boolean sensitiveDefaut; private final boolean sensitiveDefault;
/** /**
* Mark if the endpoint exposes sensitive information. * Mark if the endpoint exposes sensitive information.
@@ -70,7 +70,7 @@ public abstract class AbstractEndpoint<T> implements Endpoint<T>, EnvironmentAwa
*/ */
public AbstractEndpoint(String id, boolean sensitive) { public AbstractEndpoint(String id, boolean sensitive) {
this.id = id; this.id = id;
this.sensitiveDefaut = sensitive; this.sensitiveDefault = sensitive;
} }
/** /**
@@ -81,7 +81,7 @@ public abstract class AbstractEndpoint<T> implements Endpoint<T>, EnvironmentAwa
*/ */
public AbstractEndpoint(String id, boolean sensitive, boolean enabled) { public AbstractEndpoint(String id, boolean sensitive, boolean enabled) {
this.id = id; this.id = id;
this.sensitiveDefaut = sensitive; this.sensitiveDefault = sensitive;
this.enabled = enabled; this.enabled = enabled;
} }
@@ -115,7 +115,7 @@ public abstract class AbstractEndpoint<T> implements Endpoint<T>, EnvironmentAwa
@Override @Override
public boolean isSensitive() { public boolean isSensitive() {
return EndpointProperties.isSensitive(this.environment, this.sensitive, return EndpointProperties.isSensitive(this.environment, this.sensitive,
this.sensitiveDefaut); this.sensitiveDefault);
} }
public void setSensitive(Boolean sensitive) { public void setSensitive(Boolean sensitive) {