Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
0bac6ebd
Commit
0bac6ebd
authored
Nov 10, 2015
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
See gh-4419
parent
3311419a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
AbstractEndpoint.java
...ringframework/boot/actuate/endpoint/AbstractEndpoint.java
+4
-4
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/AbstractEndpoint.java
View file @
0bac6ebd
...
...
@@ -41,7 +41,7 @@ public abstract class AbstractEndpoint<T> implements Endpoint<T>, EnvironmentAwa
@Pattern
(
regexp
=
"\\w+"
,
message
=
"ID must only contains letters, numbers and '_'"
)
private
String
id
;
private
final
boolean
sensitiveDefaut
;
private
final
boolean
sensitiveDefau
l
t
;
/**
* 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
)
{
this
.
id
=
id
;
this
.
sensitiveDefaut
=
sensitive
;
this
.
sensitiveDefau
l
t
=
sensitive
;
}
/**
...
...
@@ -81,7 +81,7 @@ public abstract class AbstractEndpoint<T> implements Endpoint<T>, EnvironmentAwa
*/
public
AbstractEndpoint
(
String
id
,
boolean
sensitive
,
boolean
enabled
)
{
this
.
id
=
id
;
this
.
sensitiveDefaut
=
sensitive
;
this
.
sensitiveDefau
l
t
=
sensitive
;
this
.
enabled
=
enabled
;
}
...
...
@@ -115,7 +115,7 @@ public abstract class AbstractEndpoint<T> implements Endpoint<T>, EnvironmentAwa
@Override
public
boolean
isSensitive
()
{
return
EndpointProperties
.
isSensitive
(
this
.
environment
,
this
.
sensitive
,
this
.
sensitiveDefaut
);
this
.
sensitiveDefau
l
t
);
}
public
void
setSensitive
(
Boolean
sensitive
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment