chore: 优化部分代码格式

This commit is contained in:
2025-12-01 21:42:07 +08:00
parent ee75e849e2
commit a5b1172122
5 changed files with 12 additions and 14 deletions

View File

@@ -33,6 +33,7 @@ import java.util.function.Function;
* @since 1.0.0
*/
public class ExceptionUtils {
private static final Logger log = LoggerFactory.getLogger(ExceptionUtils.class);
private ExceptionUtils() {

View File

@@ -30,7 +30,7 @@ import java.io.IOException;
* 通用配置文件读取工厂
* <p>
* DefaultPropertySourceFactory 仅支持 properties
* 配置文件读取,详见:<ahref="https://docs.spring.io/spring-boot/docs/2.0.6.RELEASE/reference/html/boot-features-external-config.html#boot-features-external-config-yaml-shortcomings">YAMLShortcomings</a>
* 配置文件读取,详见:<a href="https://docs.spring.io/spring-boot/docs/2.0.6.RELEASE/reference/html/boot-features-external-config.html#boot-features-external-config-yaml-shortcomings">YAMLShortcomings</a>
* </p>
*
* @author Charles7c

View File

@@ -51,7 +51,7 @@ public class SpringWebUtils {
private SpringWebUtils() {
}
private static final AntPathMatcher matcher = new AntPathMatcher();
private static final AntPathMatcher MATCHER = new AntPathMatcher();
/**
* 路径是否匹配
@@ -100,7 +100,7 @@ public class SpringWebUtils {
* @since 2.4.0
*/
public static boolean isMatchAnt(String path, String pattern) {
return matcher.match(pattern, path);
return MATCHER.match(pattern, path);
}
/**