Method signature of updatePolicy method in org.wso2.carbon.policy.mgt.common.Policy.PolicyDAO was updated

4.x.x
DilanUA 10 years ago
parent 92503ac0fe
commit 1d45b494f1

@ -28,7 +28,7 @@ public interface PolicyDAO {
int addPolicy(String deviceID, String deviceType, Policy policy) throws PolicyManagerDAOException;
void updatePolicy(int id) throws PolicyManagerDAOException;
void updatePolicy(int id, Policy policy) throws PolicyManagerDAOException;
Policy getPolicy() throws PolicyManagerDAOException;

@ -39,7 +39,6 @@ public class PolicyDAOImpl implements PolicyDAO {
@Override
public int addPolicy(Policy policy) throws PolicyManagerDAOException {
return 0;
}
@ -54,7 +53,7 @@ public class PolicyDAOImpl implements PolicyDAO {
}
@Override
public void updatePolicy(int id) throws PolicyManagerDAOException {
public void updatePolicy(int id, Policy policy) throws PolicyManagerDAOException {
}

Loading…
Cancel
Save