This commit is contained in:
jdar 2024-08-26 10:27:56 -07:00
parent 72a837cb10
commit b1eb4ca046
2 changed files with 5 additions and 4 deletions

View File

@ -57,7 +57,8 @@ public class DeleteExpungeSvcImpl implements IDeleteExpungeSvc<JpaPid> {
List<String> sqlList = sqlResult.getSqlStatements();
String formattedChunkIdForLogMessage = "";
if (theWorkChunk instanceof WorkChunk && !((WorkChunk) theWorkChunk).getId().isBlank()) {
if (theWorkChunk instanceof WorkChunk
&& !((WorkChunk) theWorkChunk).getId().isBlank()) {
formattedChunkIdForLogMessage = "Chunk[" + ((WorkChunk) theWorkChunk).getId() + "] - ";
}

View File

@ -153,7 +153,7 @@ public class DeleteExpungeStep
ourLog.info(
"Starting delete expunge work chunk. There are no resources to delete expunge - Instance[{}] Chunk[{}]",
myInstanceId,
workChunkId);
workChunkId);
return null;
}
@ -161,7 +161,7 @@ public class DeleteExpungeStep
"Starting delete expunge work chunk with {} resources - Instance[{}] Chunk[{}]",
persistentIds.size(),
myInstanceId,
workChunkId);
workChunkId);
myRecordCount = myDeleteExpungeSvc.deleteExpunge(persistentIds, myCascade, myCascadeMaxRounds, myWorkChunk);
@ -169,7 +169,7 @@ public class DeleteExpungeStep
"Delete expunge finished deleting {} resources - Instance[{}] Chunk[{}]",
myRecordCount,
myInstanceId,
workChunkId);
workChunkId);
return null;
}