File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
backend/src/main/java/io/dataease/service/dataset Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33
33
import org .apache .http .HttpResponse ;
34
34
import org .apache .http .client .HttpClient ;
35
35
import org .apache .http .client .methods .HttpGet ;
36
+ import org .apache .http .impl .client .CloseableHttpClient ;
36
37
import org .apache .poi .hssf .usermodel .HSSFSheet ;
37
38
import org .apache .poi .hssf .usermodel .HSSFWorkbook ;
38
39
import org .apache .poi .xssf .usermodel .XSSFSheet ;
@@ -838,7 +839,7 @@ public boolean isKettleRunning() {
838
839
if (!InetAddress .getByName (carte ).isReachable (1000 )) {
839
840
return false ;
840
841
}
841
- HttpClient httpClient ;
842
+ CloseableHttpClient httpClient ;
842
843
HttpGet getMethod = new HttpGet ("http://" + carte + ":" + port );
843
844
HttpClientManager .HttpClientBuilderFacade clientBuilder = HttpClientManager .getInstance ().createBuilder ();
844
845
clientBuilder .setConnectionTimeout (1 );
You can’t perform that action at this time.
0 commit comments