From 0e4a02635df98895f4accbb8d16caa0b0b37fcc9 Mon Sep 17 00:00:00 2001 From: Pahansith Date: Mon, 30 Nov 2020 16:15:23 +0530 Subject: [PATCH] Add method comments and format code --- .../carbon/policy/mgt/core/util/PolicyManagerUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java index 845da131791..95ae637c51b 100644 --- a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java +++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/util/PolicyManagerUtil.java @@ -143,10 +143,10 @@ public class PolicyManagerUtil { } /** - * Attach policy specific data which has been not retrieved - * @param policy - * @return - * @throws PolicyTransformException + * Transform policy into a Operation + * @param policy policy to be transformed + * @return policy operation object + * @throws PolicyTransformException for errors occurred while transforming a policy */ public static Operation transformPolicy(Policy policy) throws PolicyTransformException { List effectiveFeatures = policy.getProfile().getProfileFeaturesList();