From 6772b2160f5d8352b53c91d1c8e20809c4946259 Mon Sep 17 00:00:00 2001 From: jdar Date: Wed, 21 Aug 2024 11:21:11 -0700 Subject: [PATCH] change string check --- .../ca/uhn/fhir/jpa/delete/batch2/DeleteExpungeSvcImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/delete/batch2/DeleteExpungeSvcImpl.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/delete/batch2/DeleteExpungeSvcImpl.java index 3ad37d353f6..4719879f83d 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/delete/batch2/DeleteExpungeSvcImpl.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/delete/batch2/DeleteExpungeSvcImpl.java @@ -54,7 +54,7 @@ public class DeleteExpungeSvcImpl implements IDeleteExpungeSvc { myDeleteExpungeSqlBuilder.convertPidsToDeleteExpungeSql(theJpaPids, theCascade, theCascadeMaxRounds); List sqlList = sqlResult.getSqlStatements(); - String formattedChunkIdForLogMessage = theChunkId.isEmpty() ? "" : "Chunk[" + theChunkId + "] - "; + String formattedChunkIdForLogMessage = theChunkId.isBlank() ? "" : "Chunk[" + theChunkId + "] - "; ourLog.debug("{}Executing {} delete expunge sql commands", formattedChunkIdForLogMessage, sqlList.size()); long totalDeleted = 0;