From baa9ec49584f2c3410fb3e508c7d720a3f0e7ccd Mon Sep 17 00:00:00 2001 From: Malith-19 Date: Mon, 1 Jul 2024 14:05:46 +0530 Subject: [PATCH] Update the comments. --- .../main/java/org/wso2/charon3/core/encoder/JSONDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/charon-core/src/main/java/org/wso2/charon3/core/encoder/JSONDecoder.java b/modules/charon-core/src/main/java/org/wso2/charon3/core/encoder/JSONDecoder.java index 072f9399..74b2c407 100644 --- a/modules/charon-core/src/main/java/org/wso2/charon3/core/encoder/JSONDecoder.java +++ b/modules/charon-core/src/main/java/org/wso2/charon3/core/encoder/JSONDecoder.java @@ -754,9 +754,9 @@ public ArrayList decodeRequest(String scimResourceString) throws //obtain the Operations values JSONArray operationJsonList = (JSONArray) decodedJsonObj.opt(SCIMConstants.OperationalConstants.OPERATIONS); - //check if operationJsonList is null + // Check if operationJsonList is null. if (operationJsonList == null) { - //check if operations field present in lowercase + // Check if operations field present in lowercase. if (decodedJsonObj.has(StringUtils.lowerCase(SCIMConstants.OperationalConstants.OPERATIONS))) { throw new BadRequestException("Invalid JSON schema.", ResponseCodeConstants.INVALID_SYNTAX); }