mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 18:46:10 +08:00 
			
		
		
		
	Suppress Warnings
This commit is contained in:
		| @ -108,6 +108,7 @@ public class DefaultApacheHttpClientBuilder implements ApacheHttpClientBuilder { | |||||||
|             .register("https", this.sslConnectionSocketFactory) |             .register("https", this.sslConnectionSocketFactory) | ||||||
|             .build(); |             .build(); | ||||||
|  |  | ||||||
|  |     @SuppressWarnings("resource") | ||||||
|     PoolingHttpClientConnectionManager connectionManager = new PoolingHttpClientConnectionManager(registry); |     PoolingHttpClientConnectionManager connectionManager = new PoolingHttpClientConnectionManager(registry); | ||||||
|     connectionManager.setMaxTotal(this.maxTotalConn); |     connectionManager.setMaxTotal(this.maxTotalConn); | ||||||
|     connectionManager.setDefaultMaxPerRoute(this.maxConnPerHost); |     connectionManager.setDefaultMaxPerRoute(this.maxConnPerHost); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 BinaryWang
					BinaryWang