【同步】jdk21 和 jdk8 的代码
Some checks failed
Java CI with Maven / build (11) (push) Has been cancelled
Java CI with Maven / build (17) (push) Has been cancelled
Java CI with Maven / build (8) (push) Has been cancelled
yudao-ui-admin CI / build (14.x) (push) Has been cancelled
yudao-ui-admin CI / build (16.x) (push) Has been cancelled

This commit is contained in:
YunaiV
2025-12-07 10:40:21 +08:00
parent 91870831d2
commit 289d847eff
3 changed files with 2 additions and 10 deletions

View File

@@ -44,8 +44,9 @@ public class HttpUtils {
* @param value 参数
* @return 解码后的参数
*/
@SneakyThrows
public static String decodeUtf8(String value) {
return URLDecoder.decode(value, StandardCharsets.UTF_8);
return URLDecoder.decode(value, StandardCharsets.UTF_8.name());
}
@SuppressWarnings("unchecked")

View File

@@ -15,7 +15,6 @@ import org.springframework.scheduling.quartz.QuartzJobBean;
import javax.annotation.Resource;
import java.time.LocalDateTime;
import java.time.temporal.ChronoUnit;
import static cn.hutool.core.exceptions.ExceptionUtil.getRootCauseMessage;