clean up with constants

This commit is contained in:
heyethereum
2024-07-18 08:28:10 +08:00
parent 686c4f939e
commit b966597ca6
8 changed files with 35 additions and 27 deletions

View File

@@ -10,7 +10,7 @@ import org.springframework.stereotype.Service;
@Service
public class TextVerificationService {
private final TextRepository textRepository;
private static final Logger logger = LoggerFactory.getLogger(TextVerificationService.class);
@Autowired
public TextVerificationService(TextRepository textRepository) {
this.textRepository = textRepository;
@@ -18,5 +18,5 @@ public class TextVerificationService {
public void insertDB(TextEntity textEntity) {
textRepository.save(textEntity);
}
private static final Logger logger = LoggerFactory.getLogger(TextVerificationService.class);
}