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

@@ -190,13 +190,6 @@
<version>${revision}</version>
</dependency>
<!-- 消息模块 - MQTT -->
<dependency>
<groupId>top.continew.starter</groupId>
<artifactId>continew-starter-messaging-mqtt</artifactId>
<version>${revision}</version>
</dependency>
<!-- 消息模块 - WebSocket -->
<dependency>
<groupId>top.continew.starter</groupId>
@@ -204,6 +197,13 @@
<version>${revision}</version>
</dependency>
<!-- 消息模块 - MQTT -->
<dependency>
<groupId>top.continew.starter</groupId>
<artifactId>continew-starter-messaging-mqtt</artifactId>
<version>${revision}</version>
</dependency>
<!-- 日志模块 - 基于拦截器实现Spring Boot Actuator HttpTrace 增强版) -->
<dependency>
<groupId>top.continew.starter</groupId>

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);
}
/**

View File

@@ -8,7 +8,6 @@
<version>${revision}</version>
</parent>
<artifactId>continew-starter-messaging-mqtt</artifactId>
<packaging>jar</packaging>
@@ -16,12 +15,10 @@
<description>ContiNew Starter 消息模块 - MQTT</description>
<dependencies>
<!--spring MQTT消息模块-->
<!-- Spring MQTT 消息模块 -->
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-mqtt</artifactId>
</dependency>
</dependencies>
</project>