From dd61ed5d963a6bfb64d43654852009c663e8f68e Mon Sep 17 00:00:00 2001 From: Pasindu Yeshan Date: Thu, 25 Jul 2024 12:34:00 +0530 Subject: [PATCH] Address review comments PR-400 --- .../core/protocol/endpoints/BulkResourceManager.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/charon-core/src/main/java/org/wso2/charon3/core/protocol/endpoints/BulkResourceManager.java b/modules/charon-core/src/main/java/org/wso2/charon3/core/protocol/endpoints/BulkResourceManager.java index aa00a903..a49f071b 100644 --- a/modules/charon-core/src/main/java/org/wso2/charon3/core/protocol/endpoints/BulkResourceManager.java +++ b/modules/charon-core/src/main/java/org/wso2/charon3/core/protocol/endpoints/BulkResourceManager.java @@ -92,13 +92,11 @@ public SCIMResponse processBulkData(String data, UserManager userManager) { if (totalOperationCount > maxOperationCount) { if (logger.isDebugEnabled()) { logger.debug(String.format(ResponseCodeConstants.ERROR_DESC_MAX_OPERATIONS_EXCEEDED, - totalOperationCount, - maxOperationCount)); + totalOperationCount, maxOperationCount)); } throw new PayloadTooLargeException( String.format(ResponseCodeConstants.ERROR_DESC_MAX_OPERATIONS_EXCEEDED, - totalOperationCount, - maxOperationCount)); + totalOperationCount, maxOperationCount)); } // Get bulk response data.