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
9d241869
Commit
9d241869
authored
Jan 19, 2018
by
Johnny Lim
Committed by
Stephane Nicoll
Jan 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use this() in EndpointRequests
Closes gh-11690
parent
247b7f08
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
18 deletions
+6
-18
EndpointRequest.java
...uate/autoconfigure/security/reactive/EndpointRequest.java
+3
-9
EndpointRequest.java
...tuate/autoconfigure/security/servlet/EndpointRequest.java
+3
-9
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/reactive/EndpointRequest.java
View file @
9d241869
...
...
@@ -101,21 +101,15 @@ public final class EndpointRequest {
private
ServerWebExchangeMatcher
delegate
;
private
EndpointServerWebExchangeMatcher
()
{
super
(
EndpointPathProvider
.
class
);
this
.
includes
=
Collections
.
emptyList
();
this
.
excludes
=
Collections
.
emptyList
();
this
(
Collections
.
emptyList
(),
Collections
.
emptyList
());
}
private
EndpointServerWebExchangeMatcher
(
Class
<?>[]
endpoints
)
{
super
(
EndpointPathProvider
.
class
);
this
.
includes
=
Arrays
.
asList
((
Object
[])
endpoints
);
this
.
excludes
=
Collections
.
emptyList
();
this
(
Arrays
.
asList
((
Object
[])
endpoints
),
Collections
.
emptyList
());
}
private
EndpointServerWebExchangeMatcher
(
String
[]
endpoints
)
{
super
(
EndpointPathProvider
.
class
);
this
.
includes
=
Arrays
.
asList
((
Object
[])
endpoints
);
this
.
excludes
=
Collections
.
emptyList
();
this
(
Arrays
.
asList
((
Object
[])
endpoints
),
Collections
.
emptyList
());
}
private
EndpointServerWebExchangeMatcher
(
List
<
Object
>
includes
,
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/servlet/EndpointRequest.java
View file @
9d241869
...
...
@@ -99,21 +99,15 @@ public final class EndpointRequest {
private
RequestMatcher
delegate
;
private
EndpointRequestMatcher
()
{
super
(
EndpointPathProvider
.
class
);
this
.
includes
=
Collections
.
emptyList
();
this
.
excludes
=
Collections
.
emptyList
();
this
(
Collections
.
emptyList
(),
Collections
.
emptyList
());
}
private
EndpointRequestMatcher
(
Class
<?>[]
endpoints
)
{
super
(
EndpointPathProvider
.
class
);
this
.
includes
=
Arrays
.
asList
((
Object
[])
endpoints
);
this
.
excludes
=
Collections
.
emptyList
();
this
(
Arrays
.
asList
((
Object
[])
endpoints
),
Collections
.
emptyList
());
}
private
EndpointRequestMatcher
(
String
[]
endpoints
)
{
super
(
EndpointPathProvider
.
class
);
this
.
includes
=
Arrays
.
asList
((
Object
[])
endpoints
);
this
.
excludes
=
Collections
.
emptyList
();
this
(
Arrays
.
asList
((
Object
[])
endpoints
),
Collections
.
emptyList
());
}
private
EndpointRequestMatcher
(
List
<
Object
>
includes
,
List
<
Object
>
excludes
)
{
...
...
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