代码优化

This commit is contained in:
qaiu
2024-05-15 08:35:28 +08:00
parent d7349cbf05
commit db7aa2f442
6 changed files with 43 additions and 23 deletions

View File

@@ -26,7 +26,6 @@ public class WsTool extends PanBase implements IPanTool {
super(key, pwd);
}
@SuppressWarnings("unchecked")
public Future<String> parse() {
WebClient httpClient = this.client;

View File

@@ -1,12 +0,0 @@
package cn.qaiu.util;
/**
* @author <a href="https://qaiu.top">QAIU</a>
* @date 2023/7/16 1:53
*/
public class PanExceptionUtils {
public static RuntimeException fillRunTimeException(String name, String dataKey, Throwable t) {
return new RuntimeException(name + ": 请求异常: key = " + dataKey, t.fillInStackTrace());
}
}