Skip to content

Commit

Permalink
Format the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Malith-19 committed Jul 1, 2024
1 parent 43a6538 commit 14c2ca2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -756,12 +756,10 @@ public ArrayList<PatchOperation> 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);
}

Expand Down

0 comments on commit 14c2ca2

Please sign in to comment.