summaryrefslogtreecommitdiffstats
path: root/examples/examples-myfirstpolicy/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples-myfirstpolicy/src')
-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) {