refactor: 移除 Lombok 私有构造注解使用

修复 Sonarqube 扫描问题
This commit is contained in:
2024-01-27 00:30:20 +08:00
parent 91651b0b59
commit 11d0798f92
31 changed files with 80 additions and 93 deletions

View File

@@ -21,8 +21,6 @@ import cn.hutool.extra.spring.SpringUtil;
import com.anji.captcha.service.CaptchaCacheService;
import com.anji.captcha.service.impl.CaptchaServiceFactory;
import jakarta.annotation.PostConstruct;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.redisson.client.RedisClient;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
@@ -42,7 +40,6 @@ import top.charles7c.continew.starter.core.constant.PropertiesConstants;
* @since 1.1.0
*/
@Slf4j
@NoArgsConstructor(access = AccessLevel.PRIVATE)
abstract class BehaviorCaptchaCacheConfiguration {
/**