Kleinere Korrekturen
This commit is contained in:
@@ -26,7 +26,9 @@ package de.gecheckt.pdf.umbenenner.application.port.out;
|
||||
*/
|
||||
public class DocumentPersistenceException extends RuntimeException {
|
||||
|
||||
/**
|
||||
private static final long serialVersionUID = -8362115097253107643L;
|
||||
|
||||
/**
|
||||
* Constructs a new {@code DocumentPersistenceException} with the given message.
|
||||
*
|
||||
* @param message human-readable description of the persistence failure
|
||||
|
||||
@@ -6,7 +6,6 @@ import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
import de.gecheckt.pdf.umbenenner.application.port.out.ClockPort;
|
||||
import de.gecheckt.pdf.umbenenner.application.service.AiResponseValidator.AiValidationResult;
|
||||
import de.gecheckt.pdf.umbenenner.domain.model.AiErrorClassification;
|
||||
import de.gecheckt.pdf.umbenenner.domain.model.DateSource;
|
||||
import de.gecheckt.pdf.umbenenner.domain.model.NamingProposal;
|
||||
|
||||
@@ -1339,8 +1339,6 @@ class DocumentProcessingCoordinatorTest {
|
||||
private final CapturingDocumentRecordRepository recordRepo;
|
||||
private final CapturingProcessingAttemptRepository attemptRepo;
|
||||
boolean failOnExecute = false;
|
||||
Consumer<TransactionOperations> lastOperations = null;
|
||||
|
||||
CapturingUnitOfWorkPort(CapturingDocumentRecordRepository recordRepo,
|
||||
CapturingProcessingAttemptRepository attemptRepo) {
|
||||
this.recordRepo = recordRepo;
|
||||
@@ -1349,7 +1347,6 @@ class DocumentProcessingCoordinatorTest {
|
||||
|
||||
@Override
|
||||
public void executeInTransaction(Consumer<TransactionOperations> operations) {
|
||||
this.lastOperations = operations;
|
||||
if (failOnExecute) {
|
||||
throw new DocumentPersistenceException("Simulated transaction failure");
|
||||
}
|
||||
|
||||
@@ -1488,7 +1488,6 @@ class BatchRunProcessingUseCaseTest {
|
||||
private static class CapturingProcessingLogger implements ProcessingLogger {
|
||||
int infoCallCount = 0;
|
||||
int debugCallCount = 0;
|
||||
int debugSensitiveAiContentCallCount = 0;
|
||||
int warnCallCount = 0;
|
||||
int errorCallCount = 0;
|
||||
|
||||
@@ -1504,7 +1503,6 @@ class BatchRunProcessingUseCaseTest {
|
||||
|
||||
@Override
|
||||
public void debugSensitiveAiContent(String message, Object... args) {
|
||||
debugSensitiveAiContentCallCount++;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user