Skip to content

Commit 046da19

Browse files
committed
Fix formatting
1 parent e8123a2 commit 046da19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

captchaservice-backend/src/main/java/de/muenchen/captchaservice/service/captcha/CaptchaService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ public void decrementInvalidatedPayloadCount(long count) {
125125

126126
public void resetInvalidatedPayloadCount() {
127127
this.invalidatedPayloadCount.set(
128-
invalidatedPayloadRepository.countByExpiresAtGreaterThan(java.time.Instant.now())
129-
);
128+
invalidatedPayloadRepository.countByExpiresAtGreaterThan(java.time.Instant.now()));
130129
}
131130
}

captchaservice-backend/src/main/java/de/muenchen/captchaservice/service/expireddata/ExpiredDataService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ public class ExpiredDataService {
1818
private final CaptchaService captchaService;
1919

2020
@SuppressFBWarnings(value = { "EI_EXPOSE_REP2" }, justification = "Dependency Injection")
21-
public ExpiredDataService(final CaptchaRequestRepository captchaRequestRepository, final InvalidatedPayloadRepository invalidatedPayloadRepository, final CaptchaService captchaService) {
21+
public ExpiredDataService(final CaptchaRequestRepository captchaRequestRepository, final InvalidatedPayloadRepository invalidatedPayloadRepository,
22+
final CaptchaService captchaService) {
2223
this.captchaRequestRepository = captchaRequestRepository;
2324
this.invalidatedPayloadRepository = invalidatedPayloadRepository;
2425
this.captchaService = captchaService;

0 commit comments

Comments
 (0)