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
77dcbdb1
Commit
77dcbdb1
authored
Jun 01, 2018
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
See gh-13320
parent
bc47bf44
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
RestClientAutoConfiguration.java
...igure/elasticsearch/rest/RestClientAutoConfiguration.java
+2
-2
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/elasticsearch/rest/RestClientAutoConfiguration.java
View file @
77dcbdb1
...
@@ -39,7 +39,7 @@ import org.springframework.context.annotation.Bean;
...
@@ -39,7 +39,7 @@ import org.springframework.context.annotation.Bean;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
/**
/**
* {@link EnableAutoConfiguration Auto-
C
onfiguration} for Elasticsearch REST clients.
* {@link EnableAutoConfiguration Auto-
c
onfiguration} for Elasticsearch REST clients.
*
*
* @author Brian Clozel
* @author Brian Clozel
* @since 2.1.0
* @since 2.1.0
...
@@ -60,7 +60,7 @@ public class RestClientAutoConfiguration {
...
@@ -60,7 +60,7 @@ public class RestClientAutoConfiguration {
.
getIfAvailable
(
Collections:
:
emptyList
);
.
getIfAvailable
(
Collections:
:
emptyList
);
}
}
@Bean
(
destroyMethod
=
"close"
)
@Bean
@ConditionalOnMissingBean
@ConditionalOnMissingBean
public
RestClient
restClient
(
RestClientBuilder
builder
)
{
public
RestClient
restClient
(
RestClientBuilder
builder
)
{
return
builder
.
build
();
return
builder
.
build
();
...
...
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