mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-08 16:57:09 +08:00
chore: 优化代码格式
This commit is contained in:
@@ -32,5 +32,4 @@ import java.lang.annotation.*;
|
||||
@Documented
|
||||
@Inherited
|
||||
@Import({GlobalResponseAutoConfiguration.class})
|
||||
public @interface EnableGlobalResponse {
|
||||
}
|
||||
public @interface EnableGlobalResponse {}
|
||||
|
@@ -27,5 +27,4 @@ import top.continew.starter.core.constant.PropertiesConstants;
|
||||
* @since 2.5.0
|
||||
*/
|
||||
@ConfigurationProperties(PropertiesConstants.WEB_RESPONSE)
|
||||
public class GlobalResponseProperties extends GracefulResponseProperties {
|
||||
}
|
||||
public class GlobalResponseProperties extends GracefulResponseProperties {}
|
||||
|
@@ -23,9 +23,9 @@ package top.continew.starter.web.autoconfigure.trace;
|
||||
* 重写 TLog 配置以适配 Spring Boot 3.x
|
||||
* </p>
|
||||
*
|
||||
* @see com.yomahub.tlog.springboot.property.TLogProperty
|
||||
* @author Bryan.Zhang
|
||||
* @author Jasmine
|
||||
* @see com.yomahub.tlog.springboot.property.TLogProperty
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public class TLogProperties {
|
||||
|
@@ -31,9 +31,9 @@ import java.io.IOException;
|
||||
* 重写 TLog 配置以适配 Spring Boot 3.x
|
||||
* </p>
|
||||
*
|
||||
* @see com.yomahub.tlog.web.filter.TLogServletFilter
|
||||
* @author Bryan.Zhang
|
||||
* @author Jasmine
|
||||
* @see com.yomahub.tlog.web.filter.TLogServletFilter
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public class TLogServletFilter implements Filter {
|
||||
|
@@ -28,9 +28,9 @@ import jakarta.servlet.http.HttpServletRequest;
|
||||
* 重写 TLog 配置以适配 Spring Boot 3.x
|
||||
* </p>
|
||||
*
|
||||
* @see com.yomahub.tlog.web.common.TLogWebCommon
|
||||
* @author Bryan.Zhang
|
||||
* @author Jasmine
|
||||
* @see com.yomahub.tlog.web.common.TLogWebCommon
|
||||
* @since 1.3.0
|
||||
*/
|
||||
public class TLogWebCommon extends TLogRPCHandler {
|
||||
|
@@ -19,7 +19,9 @@ package top.continew.starter.web.autoconfigure.xss;
|
||||
import cn.hutool.core.collection.CollectionUtil;
|
||||
import cn.hutool.core.io.IoUtil;
|
||||
import cn.hutool.core.text.CharSequenceUtil;
|
||||
import cn.hutool.core.util.*;
|
||||
import cn.hutool.core.util.ArrayUtil;
|
||||
import cn.hutool.core.util.EscapeUtil;
|
||||
import cn.hutool.core.util.ReUtil;
|
||||
import cn.hutool.http.HtmlUtil;
|
||||
import cn.hutool.http.Method;
|
||||
import jakarta.servlet.ReadListener;
|
||||
|
@@ -29,7 +29,10 @@ import org.springframework.http.HttpHeaders;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.io.*;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
@@ -23,7 +23,8 @@ import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import top.continew.starter.core.constant.StringConstants;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Servlet 工具类
|
||||
|
Reference in New Issue
Block a user