diff --git a/continew-starter-idempotent/pom.xml b/continew-starter-idempotent/pom.xml
index 3e908fa0..12b86241 100644
--- a/continew-starter-idempotent/pom.xml
+++ b/continew-starter-idempotent/pom.xml
@@ -13,11 +13,6 @@
ContiNew Starter 幂等模块
-
- org.springframework.boot
- spring-boot-starter-aop
-
-
top.continew
diff --git a/continew-starter-log/continew-starter-log-core/src/main/java/top/continew/starter/log/handler/AbstractLogHandler.java b/continew-starter-log/continew-starter-log-core/src/main/java/top/continew/starter/log/handler/AbstractLogHandler.java
index 75d982a0..af8598e0 100644
--- a/continew-starter-log/continew-starter-log-core/src/main/java/top/continew/starter/log/handler/AbstractLogHandler.java
+++ b/continew-starter-log/continew-starter-log-core/src/main/java/top/continew/starter/log/handler/AbstractLogHandler.java
@@ -166,14 +166,14 @@ public abstract class AbstractLogHandler implements LogHandler {
AccessLogProperties properties = accessLogContext.getProperties().getAccessLog();
// 是否需要打印 规则: 是否打印开关 或 放行路径
if (!properties.isEnabled() || AccessLogUtils.exclusionPath(accessLogContext.getProperties(), ServletUtils
- .getReqPath())) {
+ .getReqPath())) {
return;
}
// 构建上下文
logContextThread.set(accessLogContext);
String param = AccessLogUtils.getParam(properties);
- log.info(param != null ? "[Start] [{}] {} param: {}" : "[Start] [{}] {}",
- ServletUtils.getReqMethod(), ServletUtils.getReqPath(), param);
+ log.info(param != null ? "[Start] [{}] {} param: {}" : "[Start] [{}] {}", ServletUtils
+ .getReqMethod(), ServletUtils.getReqPath(), param);
}
@Override
@@ -185,7 +185,7 @@ public abstract class AbstractLogHandler implements LogHandler {
try {
Duration timeTaken = Duration.between(logContext.getStartTime(), accessLogContext.getEndTime());
log.info("[End] [{}] {} {} {}ms", ServletUtils.getReqMethod(), ServletUtils.getReqPath(), ServletUtils
- .getRespStatus(), timeTaken.toMillis());
+ .getRespStatus(), timeTaken.toMillis());
} finally {
logContextThread.remove();
}
diff --git a/continew-starter-web/pom.xml b/continew-starter-web/pom.xml
index 792b9dbd..66e518be 100644
--- a/continew-starter-web/pom.xml
+++ b/continew-starter-web/pom.xml
@@ -32,12 +32,6 @@
spring-boot-starter-undertow
-
-
- org.springframework.boot
- spring-boot-starter-validation
-
-
com.feiniaojin
diff --git a/continew-starter-web/src/main/java/top/continew/starter/web/util/ServletUtils.java b/continew-starter-web/src/main/java/top/continew/starter/web/util/ServletUtils.java
index e436f7a0..9d30ae60 100644
--- a/continew-starter-web/src/main/java/top/continew/starter/web/util/ServletUtils.java
+++ b/continew-starter-web/src/main/java/top/continew/starter/web/util/ServletUtils.java
@@ -56,7 +56,7 @@ public class ServletUtils extends JakartaServletUtil {
public static ServletRequestAttributes getRequestAttributes() {
try {
RequestAttributes attributes = RequestContextHolder.getRequestAttributes();
- return (ServletRequestAttributes) attributes;
+ return (ServletRequestAttributes)attributes;
} catch (Exception e) {
return null;
}
@@ -231,8 +231,8 @@ public class ServletUtils extends JakartaServletUtil {
public static Map getReqParam() {
String body = getReqBody();
return CharSequenceUtil.isNotBlank(body) && JSONUtil.isTypeJSON(body)
- ? JSONUtil.toBean(body, Map.class)
- : Collections.unmodifiableMap(JakartaServletUtil.getParamMap(Objects.requireNonNull(getRequest())));
+ ? JSONUtil.toBean(body, Map.class)
+ : Collections.unmodifiableMap(JakartaServletUtil.getParamMap(Objects.requireNonNull(getRequest())));
}
/**
@@ -329,7 +329,7 @@ public class ServletUtils extends JakartaServletUtil {
return new StringBuilder();
}
return new StringBuilder().append(request.getRequestURL())
- .append(StringConstants.QUESTION_MARK)
- .append(queryString);
+ .append(StringConstants.QUESTION_MARK)
+ .append(queryString);
}
}