From 41781c7717c1d7135d16d8c25fb4e36b88096e78 Mon Sep 17 00:00:00 2001 From: hasithan Date: Tue, 3 Dec 2024 15:57:30 +0530 Subject: [PATCH] Fix comments --- .../extensions/authorize/impl/CIBAConsentPersistStep.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/CIBAConsentPersistStep.java b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/CIBAConsentPersistStep.java index 0a8c2541..b59136d7 100644 --- a/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/CIBAConsentPersistStep.java +++ b/open-banking-accelerator/components/consent-management/com.wso2.openbanking.accelerator.consent.extensions/src/main/java/com/wso2/openbanking/accelerator/consent/extensions/authorize/impl/CIBAConsentPersistStep.java @@ -105,9 +105,7 @@ private static void removeExistingAuthReqIdAttribute(ConsentResource consentReso currentConsentAttributes = ConsentExtensionsDataHolder.getInstance() .getConsentCoreService().getConsentAttributes(consentResource.getConsentID()); } catch (ConsentManagementException e) { - if (log.isDebugEnabled()) { - log.debug("Error while retrieving consent attributes.", e); - } + log.debug("Error while retrieving consent attributes.", e); } // Remove if existing aut_req_id is already in attributes. if (currentConsentAttributes != null &&