aboutsummaryrefslogtreecommitdiffstats
path: root/model/model-api/src/main
diff options
context:
space:
mode:
authorarkadiusz.adamski <aadamski@est.tech>2021-03-23 18:29:25 +0000
committerarkadiusz.adamski <aadamski@est.tech>2021-03-23 18:29:25 +0000
commit003fbb232dd3752bfdeeefdd0ba337f4dc92e0ea (patch)
tree02e5d27164ba5d3f5cf7830382529f06718477fe /model/model-api/src/main
parent1020f697395bcf2513b5027334ac22583193dab6 (diff)
Fix sonar issues
- fix method name on ApexModel Issue-ID: POLICY-3093 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I853de0f48bbe683249b4c60c4189fb053c5c12a2
Diffstat (limited to 'model/model-api/src/main')
-rw-r--r--model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/ApexModel.java2
-rw-r--r--model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/impl/ApexModelImpl.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/ApexModel.java b/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/ApexModel.java
index 9771b6186..6c37e453c 100644
--- a/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/ApexModel.java
+++ b/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/ApexModel.java
@@ -34,7 +34,7 @@ public interface ApexModel extends ApexEditorApi {
*
* @return the result of the operation
*/
- ApexModel clone();
+ ApexModel getCopy();
/**
* Load an Apex model from a string.
diff --git a/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/impl/ApexModelImpl.java b/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/impl/ApexModelImpl.java
index 655bd6ae5..e66322801 100644
--- a/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/impl/ApexModelImpl.java
+++ b/model/model-api/src/main/java/org/onap/policy/apex/model/modelapi/impl/ApexModelImpl.java
@@ -87,7 +87,7 @@ public final class ApexModelImpl implements ApexModel {
* {@inheritDoc}.
*/
@Override
- public ApexModel clone() {
+ public ApexModel getCopy() {
ApexModelImpl ret = new ApexModelImpl();
// @formatter:off
ret.policyModel = new AxPolicyModel(policyModel);