You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/elasticsearch/ElasticsearchAutoConfiguration.java
+8-10Lines changed: 8 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -100,16 +100,14 @@ public void destroy() throws Exception {
100
100
if (logger.isInfoEnabled()) {
101
101
logger.info("Closing Elasticsearch client");
102
102
}
103
-
if (this.releasable != null) {
104
-
try {
105
-
this.releasable.close();
106
-
}
107
-
catch (NoSuchMethodErrorex) {
108
-
// Earlier versions of Elasticsearch had a different method name
0 commit comments