From 14c2ca2e08db26274028bd2d44ce71ae52aca695 Mon Sep 17 00:00:00 2001 From: Malith-19 Date: Mon, 1 Jul 2024 10:20:22 +0530 Subject: [PATCH] Format the code. --- .../main/java/org/wso2/charon3/core/encoder/JSONDecoder.java | 2 -- 1 file changed, 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 a57dfa1e..072f9399 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 @@ -756,12 +756,10 @@ public ArrayList decodeRequest(String scimResourceString) throws //check if operationJsonList is null if (operationJsonList == null) { - //check if operations field present in lowercase if (decodedJsonObj.has(StringUtils.lowerCase(SCIMConstants.OperationalConstants.OPERATIONS))) { throw new BadRequestException("Invalid JSON schema.", ResponseCodeConstants.INVALID_SYNTAX); } - throw new BadRequestException(ResponseCodeConstants.INVALID_SYNTAX); }