mirror of
https://github.com/octopusYan/alist-gui.git
synced 2024-11-14 08:26:42 +08:00
style: 清理代码
This commit is contained in:
parent
09ca87f4f4
commit
c3cbbd497f
@ -15,7 +15,6 @@ import java.net.http.HttpClient;
|
|||||||
import java.security.KeyManagementException;
|
import java.security.KeyManagementException;
|
||||||
import java.security.NoSuchAlgorithmException;
|
import java.security.NoSuchAlgorithmException;
|
||||||
import java.security.SecureRandom;
|
import java.security.SecureRandom;
|
||||||
import java.security.cert.CertificateException;
|
|
||||||
import java.security.cert.X509Certificate;
|
import java.security.cert.X509Certificate;
|
||||||
import java.util.concurrent.Executor;
|
import java.util.concurrent.Executor;
|
||||||
|
|
||||||
@ -27,10 +26,12 @@ import java.util.concurrent.Executor;
|
|||||||
@Data
|
@Data
|
||||||
public class HttpConfig {
|
public class HttpConfig {
|
||||||
private static final Logger logger = LoggerFactory.getLogger(HttpConfig.class);
|
private static final Logger logger = LoggerFactory.getLogger(HttpConfig.class);
|
||||||
|
|
||||||
static {
|
static {
|
||||||
// 使用系统默认代理
|
// 使用系统默认代理
|
||||||
System.setProperty("java.net.useSystemProxies", "true");
|
System.setProperty("java.net.useSystemProxies", "true");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* http版本
|
* http版本
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user