aboutsummaryrefslogtreecommitdiffstats
path: root/examples/examples-myfirstpolicy/src/test
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2019-06-28 10:42:34 +0000
committerliamfallon <liam.fallon@est.tech>2019-06-28 10:42:34 +0000
commit423e98641ca7fe79a1b1bb897aa8a4b17ba5ee4d (patch)
tree9d3fd39c5e3dde70afa55d7cc2d399c14be4baf8 /examples/examples-myfirstpolicy/src/test
parentd139a68e359bfaa0e1ea1038345dd28e1869aca9 (diff)
Replace non-Javadoc comments with inheritDocs
Copyright headers not changed as this review only amends comments. Issue-ID: POLICY-1791 Change-Id: Icbeb2c6e591b3b160ae102bb67aef2d407924a4d Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'examples/examples-myfirstpolicy/src/test')
-rw-r--r--examples/examples-myfirstpolicy/src/test/java/org/onap/policy/apex/examples/myfirstpolicy/TestMfpModelCreator.java37
-rw-r--r--examples/examples-myfirstpolicy/src/test/java/org/onap/policy/apex/examples/myfirstpolicy/TestSaleAuthListener.java7
2 files changed, 14 insertions, 30 deletions
diff --git a/examples/examples-myfirstpolicy/src/test/java/org/onap/policy/apex/examples/myfirstpolicy/TestMfpModelCreator.java b/examples/examples-myfirstpolicy/src/test/java/org/onap/policy/apex/examples/myfirstpolicy/TestMfpModelCreator.java
index d77405d9e..540d1e341 100644
--- a/examples/examples-myfirstpolicy/src/test/java/org/onap/policy/apex/examples/myfirstpolicy/TestMfpModelCreator.java
+++ b/examples/examples-myfirstpolicy/src/test/java/org/onap/policy/apex/examples/myfirstpolicy/TestMfpModelCreator.java
@@ -31,40 +31,32 @@ import org.onap.policy.apex.model.policymodel.concepts.AxPolicyModel;
*/
public abstract class TestMfpModelCreator implements TestApexModelCreator<AxPolicyModel> {
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.model.basicmodel.test.TestApexModelCreator#getMalstructuredModel()
+ /**
+ * {@inheritDoc}.
*/
@Override
public AxPolicyModel getMalstructuredModel() {
return null;
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.model.basicmodel.test.TestApexModelCreator#getObservationModel()
+ /**
+ * {@inheritDoc}.
*/
@Override
public AxPolicyModel getObservationModel() {
return null;
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.model.basicmodel.test.TestApexModelCreator#getWarningModel()
+ /**
+ * {@inheritDoc}.
*/
@Override
public AxPolicyModel getWarningModel() {
return getModel();
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.model.basicmodel.test.TestApexModelCreator#getInvalidModel()
+ /**
+ * {@inheritDoc}.
*/
@Override
public AxPolicyModel getInvalidModel() {
@@ -76,10 +68,8 @@ public abstract class TestMfpModelCreator implements TestApexModelCreator<AxPoli
*/
public static class TestMfp1ModelCreator extends TestMfpModelCreator {
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.model.basicmodel.handling.ApexModelCreator#getModel()
+ /**
+ * {@inheritDoc}.
*/
@Override
public AxPolicyModel getModel() {
@@ -92,15 +82,12 @@ public abstract class TestMfpModelCreator implements TestApexModelCreator<AxPoli
*/
public static class TestMfp2ModelCreator extends TestMfpModelCreator {
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.model.basicmodel.handling.ApexModelCreator#getModel()
+ /**
+ * {@inheritDoc}.
*/
@Override
public AxPolicyModel getModel() {
return new MfpDomainModelFactory().getMfp2PolicyModel();
}
}
-
}
diff --git a/examples/examples-myfirstpolicy/src/test/java/org/onap/policy/apex/examples/myfirstpolicy/TestSaleAuthListener.java b/examples/examples-myfirstpolicy/src/test/java/org/onap/policy/apex/examples/myfirstpolicy/TestSaleAuthListener.java
index b2722fd78..3fce59c93 100644
--- a/examples/examples-myfirstpolicy/src/test/java/org/onap/policy/apex/examples/myfirstpolicy/TestSaleAuthListener.java
+++ b/examples/examples-myfirstpolicy/src/test/java/org/onap/policy/apex/examples/myfirstpolicy/TestSaleAuthListener.java
@@ -63,11 +63,8 @@ public class TestSaleAuthListener implements EnEventListener {
return resultEvents.remove(0);
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.onap.policy.apex.core.engine.engine.EnEventListener#onEnEvent(org.onap.policy.apex.core.engine.event.EnEvent)
+ /**
+ * {@inheritDoc}.
*/
@Override
public void onEnEvent(final EnEvent saleauthEvent) {