From 423e98641ca7fe79a1b1bb897aa8a4b17ba5ee4d Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 28 Jun 2019 10:42:34 +0000 Subject: 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 --- .../test/concepts/TestContextBooleanItem.java | 18 ++-- .../context/test/concepts/TestContextByteItem.java | 18 ++-- .../context/test/concepts/TestContextDateItem.java | 18 ++-- .../test/concepts/TestContextDateLocaleItem.java | 18 ++-- .../test/concepts/TestContextDateTzItem.java | 18 ++-- .../test/concepts/TestContextDoubleItem.java | 18 ++-- .../test/concepts/TestContextFloatItem.java | 18 ++-- .../context/test/concepts/TestContextIntItem.java | 18 ++-- .../context/test/concepts/TestContextLongItem.java | 18 ++-- .../test/concepts/TestContextLongObjectItem.java | 18 ++-- .../test/concepts/TestContextStringItem.java | 18 ++-- .../test/concepts/TestContextTreeMapItem.java | 18 ++-- .../test/concepts/TestContextTreeSetItem.java | 18 ++-- .../test/concepts/TestExternalContextItem.java | 18 ++-- .../test/concepts/TestGlobalContextItem.java | 18 ++-- .../test/concepts/TestPolicyContextItem.java | 18 ++-- .../common/testclasses/PingTestClass.java | 4 +- .../context/entities/ArtifactKeyTestEntity.java | 58 ++++------- .../context/entities/ReferenceKeyTestEntity.java | 58 ++++------- .../context/lock/modifier/NoLockAlbumModifier.java | 7 +- .../lock/modifier/ReadLockAlbumModifier.java | 7 +- .../SingleValueWriteLockAlbumModifier.java | 7 +- .../lock/modifier/WriteLockAlbumModifier.java | 7 +- .../locking/ConcurrentContextJvmThread.java | 6 +- .../context/locking/ConcurrentContextThread.java | 6 +- .../context/utils/ConfigrationProviderImpl.java | 96 ++++++----------- .../context/utils/IntegrationThreadFactory.java | 4 +- .../executor/engine/TestApexActionListener.java | 8 +- .../handling/TestApexSamplePolicyModelCreator.java | 20 ++-- .../uservice/adapt/jms/JmsEventProducer.java | 4 +- .../uservice/adapt/jms/JmsEventSubscriber.java | 6 +- .../uservice/adapt/jms/TestContext.java | 116 ++++++++++----------- .../adapt/jms/TestInitialContextFactory.java | 6 +- .../uservice/adapt/kafka/KafkaEventProducer.java | 6 +- .../uservice/adapt/kafka/KafkaEventSubscriber.java | 6 +- .../websocket/WebSocketEventProducerClient.java | 8 +- .../websocket/WebSocketEventProducerServer.java | 8 +- .../websocket/WebSocketEventSubscriberClient.java | 8 +- .../websocket/WebSocketEventSubscriberServer.java | 8 +- .../uservice/engdep/EngineTestServer.java | 22 ++-- .../engine/ApexServiceModelUpdateTest.java | 7 +- .../uservice/engine/ApexServiceTest.java | 8 +- .../benchmark/eventgenerator/EventGenerator.java | 6 +- 43 files changed, 279 insertions(+), 516 deletions(-) (limited to 'testsuites') diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextBooleanItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextBooleanItem.java index 84d896c8a..8786d4071 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextBooleanItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextBooleanItem.java @@ -67,10 +67,8 @@ public class TestContextBooleanItem implements Serializable { this.flag = flag; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -80,10 +78,8 @@ public class TestContextBooleanItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -100,10 +96,8 @@ public class TestContextBooleanItem implements Serializable { return flag == other.flag; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextByteItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextByteItem.java index 87d9bc678..4a0746c15 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextByteItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextByteItem.java @@ -65,10 +65,8 @@ public class TestContextByteItem implements Serializable { this.byteValue = byteValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -78,10 +76,8 @@ public class TestContextByteItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -98,10 +94,8 @@ public class TestContextByteItem implements Serializable { return byteValue == other.byteValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateItem.java index c6cc4a781..4ed506977 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateItem.java @@ -189,10 +189,8 @@ public class TestContextDateItem implements Serializable { } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -209,10 +207,8 @@ public class TestContextDateItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -229,10 +225,8 @@ public class TestContextDateItem implements Serializable { return time == other.time; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateLocaleItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateLocaleItem.java index 84024578d..22c46b4a7 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateLocaleItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateLocaleItem.java @@ -180,10 +180,8 @@ public class TestContextDateLocaleItem implements Serializable { } } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -197,10 +195,8 @@ public class TestContextDateLocaleItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -241,10 +237,8 @@ public class TestContextDateLocaleItem implements Serializable { return utcOffset == other.utcOffset; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateTzItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateTzItem.java index 90f108ce2..602f20917 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateTzItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDateTzItem.java @@ -128,10 +128,8 @@ public class TestContextDateTzItem implements Serializable { this.dst = newDst; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -143,10 +141,8 @@ public class TestContextDateTzItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -181,10 +177,8 @@ public class TestContextDateTzItem implements Serializable { return true; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDoubleItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDoubleItem.java index 99bde4a5c..aa3830a4a 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDoubleItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextDoubleItem.java @@ -66,10 +66,8 @@ public class TestContextDoubleItem implements Serializable { this.doubleValue = doubleValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -81,10 +79,8 @@ public class TestContextDoubleItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -101,10 +97,8 @@ public class TestContextDoubleItem implements Serializable { return Double.doubleToLongBits(doubleValue) == Double.doubleToLongBits(other.doubleValue); } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextFloatItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextFloatItem.java index b7545653e..350f2bac8 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextFloatItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextFloatItem.java @@ -65,10 +65,8 @@ public class TestContextFloatItem implements Serializable { this.floatValue = floatValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -78,10 +76,8 @@ public class TestContextFloatItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -98,10 +94,8 @@ public class TestContextFloatItem implements Serializable { return Float.floatToIntBits(floatValue) == Float.floatToIntBits(other.floatValue); } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextIntItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextIntItem.java index e2b68f78b..a565583ca 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextIntItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextIntItem.java @@ -74,10 +74,8 @@ public class TestContextIntItem implements Serializable { this.intValue = intValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -87,10 +85,8 @@ public class TestContextIntItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -107,10 +103,8 @@ public class TestContextIntItem implements Serializable { return intValue == other.intValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextLongItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextLongItem.java index 6c9571f4d..1c3d5bfd9 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextLongItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextLongItem.java @@ -66,10 +66,8 @@ public class TestContextLongItem implements Serializable { this.longValue = longValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -79,10 +77,8 @@ public class TestContextLongItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -99,10 +95,8 @@ public class TestContextLongItem implements Serializable { return longValue == other.longValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextLongObjectItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextLongObjectItem.java index 73d47c414..20a7492db 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextLongObjectItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextLongObjectItem.java @@ -65,10 +65,8 @@ public class TestContextLongObjectItem implements Serializable { this.longValue = longValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -78,10 +76,8 @@ public class TestContextLongObjectItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -105,10 +101,8 @@ public class TestContextLongObjectItem implements Serializable { return true; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextStringItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextStringItem.java index b1b27e7d3..02f39daff 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextStringItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextStringItem.java @@ -65,10 +65,8 @@ public class TestContextStringItem implements Serializable { this.stringValue = stringValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -78,10 +76,8 @@ public class TestContextStringItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -105,10 +101,8 @@ public class TestContextStringItem implements Serializable { return true; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextTreeMapItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextTreeMapItem.java index 9111109fe..4a5c75066 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextTreeMapItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextTreeMapItem.java @@ -70,10 +70,8 @@ public class TestContextTreeMapItem implements Serializable { this.mapValue = mapValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -83,10 +81,8 @@ public class TestContextTreeMapItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -110,10 +106,8 @@ public class TestContextTreeMapItem implements Serializable { return true; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextTreeSetItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextTreeSetItem.java index 7172fa478..610dc10c6 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextTreeSetItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestContextTreeSetItem.java @@ -81,10 +81,8 @@ public class TestContextTreeSetItem implements Serializable { this.setValue = setValue; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -94,10 +92,8 @@ public class TestContextTreeSetItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -121,10 +117,8 @@ public class TestContextTreeSetItem implements Serializable { return true; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestExternalContextItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestExternalContextItem.java index 77f86d226..3d17eeccc 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestExternalContextItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestExternalContextItem.java @@ -279,10 +279,8 @@ public class TestExternalContextItem implements Serializable { this.testExternalContextItem00C = testExternalContextItem00C; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -304,10 +302,8 @@ public class TestExternalContextItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -415,10 +411,8 @@ public class TestExternalContextItem implements Serializable { return true; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestGlobalContextItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestGlobalContextItem.java index 5cd6a437d..94707082d 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestGlobalContextItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestGlobalContextItem.java @@ -279,10 +279,8 @@ public class TestGlobalContextItem implements Serializable { this.testGlobalContextItem00C = testGlobalContextItem00C; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -304,10 +302,8 @@ public class TestGlobalContextItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -415,10 +411,8 @@ public class TestGlobalContextItem implements Serializable { return true; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestPolicyContextItem.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestPolicyContextItem.java index f52d60228..23d506639 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestPolicyContextItem.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/context/test/concepts/TestPolicyContextItem.java @@ -146,10 +146,8 @@ public class TestPolicyContextItem implements Serializable { this.testPolicyContextItem005 = testPolicyContextItem005; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -164,10 +162,8 @@ public class TestPolicyContextItem implements Serializable { return result; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -226,10 +222,8 @@ public class TestPolicyContextItem implements Serializable { return true; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/testsuites/integration/common/testclasses/PingTestClass.java b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/testsuites/integration/common/testclasses/PingTestClass.java index 31e0f3978..b64f76b93 100644 --- a/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/testsuites/integration/common/testclasses/PingTestClass.java +++ b/testsuites/integration/integration-common/src/main/java/org/onap/policy/apex/testsuites/integration/common/testclasses/PingTestClass.java @@ -109,8 +109,8 @@ public class PingTestClass implements Serializable { this.pongTime = pongTime; } - /* (non-Javadoc) - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/entities/ArtifactKeyTestEntity.java b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/entities/ArtifactKeyTestEntity.java index 1f3ea3c20..f93f914be 100644 --- a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/entities/ArtifactKeyTestEntity.java +++ b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/entities/ArtifactKeyTestEntity.java @@ -77,20 +77,16 @@ public class ArtifactKeyTestEntity extends AxConcept { this.doubleValue = doubleValue; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#getKey() + /** + * {@inheritDoc}. */ @Override public AxArtifactKey getKey() { return key; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#getKeys() + /** + * {@inheritDoc}. */ @Override public List getKeys() { @@ -133,44 +129,32 @@ public class ArtifactKeyTestEntity extends AxConcept { this.doubleValue = doubleValue; } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.model.basicmodel.concepts.AxConcept#validate(org.onap.policy.apex.model.basicmodel.concepts. - * AxValidationResult) + /** + * {@inheritDoc}. */ @Override public AxValidationResult validate(final AxValidationResult result) { return key.validate(result); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#clean() + /** + * {@inheritDoc}. */ @Override public void clean() { key.clean(); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { return "ArtifactKeyTestEntity [key=" + key + ", doubleValue=" + doubleValue + "]"; } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.model.basicmodel.concepts.AxConcept#copyTo(org.onap.policy.apex.model.basicmodel.concepts. - * AxConcept) + /** + * {@inheritDoc}. */ @Override public AxConcept copyTo(final AxConcept target) { @@ -189,10 +173,8 @@ public class ArtifactKeyTestEntity extends AxConcept { } } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -202,10 +184,8 @@ public class ArtifactKeyTestEntity extends AxConcept { return result; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -229,10 +209,8 @@ public class ArtifactKeyTestEntity extends AxConcept { return (Double.compare(doubleValue, other.doubleValue) == 0); } - /* - * (non-Javadoc) - * - * @see java.lang.Comparable#compareTo(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public int compareTo(final AxConcept otherObj) { diff --git a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/entities/ReferenceKeyTestEntity.java b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/entities/ReferenceKeyTestEntity.java index 2eef94ed7..1ca64c477 100644 --- a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/entities/ReferenceKeyTestEntity.java +++ b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/entities/ReferenceKeyTestEntity.java @@ -80,20 +80,16 @@ public class ReferenceKeyTestEntity extends AxConcept { this.doubleValue = doubleValue; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#getKey() + /** + * {@inheritDoc}. */ @Override public AxReferenceKey getKey() { return key; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#getKeys() + /** + * {@inheritDoc}. */ @Override public List getKeys() { @@ -136,44 +132,32 @@ public class ReferenceKeyTestEntity extends AxConcept { this.doubleValue = doubleValue; } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.model.basicmodel.concepts.AxConcept#validate(org.onap.policy.apex.model.basicmodel.concepts. - * AxValidationResult) + /** + * {@inheritDoc}. */ @Override public AxValidationResult validate(final AxValidationResult result) { return key.validate(result); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#clean() + /** + * {@inheritDoc}. */ @Override public void clean() { key.clean(); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { return "ReferenceKeyTestEntity [key=" + key + ", doubleValue=" + doubleValue + "]"; } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.model.basicmodel.concepts.AxConcept#copyTo(org.onap.policy.apex.model.basicmodel.concepts. - * AxConcept) + /** + * {@inheritDoc}. */ @Override public AxConcept copyTo(final AxConcept target) { @@ -192,10 +176,8 @@ public class ReferenceKeyTestEntity extends AxConcept { } } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#hashCode() + /** + * {@inheritDoc}. */ @Override public int hashCode() { @@ -205,10 +187,8 @@ public class ReferenceKeyTestEntity extends AxConcept { return result; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.model.basicmodel.concepts.AxConcept#equals(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public boolean equals(final Object obj) { @@ -232,10 +212,8 @@ public class ReferenceKeyTestEntity extends AxConcept { return (Double.compare(doubleValue, other.doubleValue) == 0); } - /* - * (non-Javadoc) - * - * @see java.lang.Comparable#compareTo(java.lang.Object) + /** + * {@inheritDoc}. */ @Override public int compareTo(final AxConcept otherObj) { diff --git a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/NoLockAlbumModifier.java b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/NoLockAlbumModifier.java index e541aada7..97ccd0f61 100644 --- a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/NoLockAlbumModifier.java +++ b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/NoLockAlbumModifier.java @@ -34,11 +34,8 @@ import org.slf4j.ext.XLoggerFactory; public class NoLockAlbumModifier implements AlbumModifier { private static final XLogger LOGGER = XLoggerFactory.getXLogger(NoLockAlbumModifier.class); - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.lock.modifier.AlbumModifier#modifyAlbum(org.onap.policy.apex.context. - * ContextAlbum, int, int) + /** + * {@inheritDoc}. */ @Override public void modifyAlbum(final ContextAlbum contextAlbum, final int loopSize, final int arraySize) { diff --git a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/ReadLockAlbumModifier.java b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/ReadLockAlbumModifier.java index e9c435af5..2500017a4 100644 --- a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/ReadLockAlbumModifier.java +++ b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/ReadLockAlbumModifier.java @@ -35,11 +35,8 @@ import org.slf4j.ext.XLoggerFactory; public class ReadLockAlbumModifier implements AlbumModifier { private static final XLogger LOGGER = XLoggerFactory.getXLogger(ReadLockAlbumModifier.class); - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.lock.modifier.AlbumModifier#modifyAlbum(org.onap.policy.apex.context. - * ContextAlbum, int, int) + /** + * {@inheritDoc}. */ @Override public void modifyAlbum(final ContextAlbum contextAlbum, final int loopSize, final int arraySize) { diff --git a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/SingleValueWriteLockAlbumModifier.java b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/SingleValueWriteLockAlbumModifier.java index ad38b03b5..1f6e399a9 100644 --- a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/SingleValueWriteLockAlbumModifier.java +++ b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/SingleValueWriteLockAlbumModifier.java @@ -35,11 +35,8 @@ import org.slf4j.ext.XLoggerFactory; public class SingleValueWriteLockAlbumModifier implements AlbumModifier { private static final XLogger LOGGER = XLoggerFactory.getXLogger(SingleValueWriteLockAlbumModifier.class); - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.lock.modifier.AlbumModifier#modifyAlbum(org.onap.policy.apex.context. - * ContextAlbum, int, int) + /** + * {@inheritDoc}. */ @Override public void modifyAlbum(final ContextAlbum contextAlbum, final int loopSize, final int arraySize) diff --git a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/WriteLockAlbumModifier.java b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/WriteLockAlbumModifier.java index 552365e92..3fb2901ae 100644 --- a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/WriteLockAlbumModifier.java +++ b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/lock/modifier/WriteLockAlbumModifier.java @@ -35,11 +35,8 @@ import org.slf4j.ext.XLoggerFactory; public class WriteLockAlbumModifier implements AlbumModifier { private static final XLogger LOGGER = XLoggerFactory.getXLogger(WriteLockAlbumModifier.class); - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.lock.modifier.AlbumModifier#modifyAlbum(org.onap.policy.apex.context. - * ContextAlbum, int, int) + /** + * {@inheritDoc}. */ @Override public void modifyAlbum(final ContextAlbum contextAlbum, final int loopSize, final int arraySize) { diff --git a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/locking/ConcurrentContextJvmThread.java b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/locking/ConcurrentContextJvmThread.java index 4915e7b89..6d6ea6a58 100644 --- a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/locking/ConcurrentContextJvmThread.java +++ b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/locking/ConcurrentContextJvmThread.java @@ -57,10 +57,8 @@ public class ConcurrentContextJvmThread implements Runnable, Closeable { this.configrationProvider = configrationProvider; } - /* - * (non-Javadoc) - * - * @see java.lang.Runnable#run() + /** + * {@inheritDoc}. */ @Override public void run() { diff --git a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/locking/ConcurrentContextThread.java b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/locking/ConcurrentContextThread.java index baad04e19..9826de725 100644 --- a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/locking/ConcurrentContextThread.java +++ b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/locking/ConcurrentContextThread.java @@ -59,10 +59,8 @@ public class ConcurrentContextThread implements Runnable, Closeable { new ContextParameters(); } - /* - * (non-Javadoc) - * - * @see java.lang.Runnable#run() + /** + * {@inheritDoc}. */ @Override public void run() { diff --git a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/utils/ConfigrationProviderImpl.java b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/utils/ConfigrationProviderImpl.java index 0a9a195e9..ad2d0720e 100644 --- a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/utils/ConfigrationProviderImpl.java +++ b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/utils/ConfigrationProviderImpl.java @@ -71,60 +71,48 @@ public class ConfigrationProviderImpl implements ConfigrationProvider { this.lockType = LockType.getLockType(lockType); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getTestName() + /** + * {@inheritDoc}. */ @Override public String getTestName() { return testType; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getLoopSize() + /** + * {@inheritDoc}. */ @Override public int getLoopSize() { return loopSize; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getThreadCount() + /** + * {@inheritDoc}. */ @Override public int getThreadCount() { return threadCount; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getJvmCount() + /** + * {@inheritDoc}. */ @Override public int getJvmCount() { return jvmCount; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getAlbumSize() + /** + * {@inheritDoc}. */ @Override public int getAlbumSize() { return albumSize; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getExecutorService() + /** + * {@inheritDoc}. */ @Override public ExecutorService getExecutorService() { @@ -133,10 +121,8 @@ public class ConfigrationProviderImpl implements ConfigrationProvider { return Executors.newFixedThreadPool(threadCount, threadFactory); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getExecutorService(java.lang.String, int) + /** + * {@inheritDoc}. */ @Override public ExecutorService getExecutorService(final String threadFactoryName, final int threadPoolSize) { @@ -144,12 +130,8 @@ public class ConfigrationProviderImpl implements ConfigrationProvider { return Executors.newFixedThreadPool(threadPoolSize, threadFactory); } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.context.test.utils.ConfigrationProvider#getDistributor(org.onap.policy.apex.model.basicmodel - * .concepts.AxArtifactKey) + /** + * {@inheritDoc}. */ @Override public Distributor getDistributor(final AxArtifactKey key) { @@ -160,10 +142,8 @@ public class ConfigrationProviderImpl implements ConfigrationProvider { } } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getDistributor() + /** + * {@inheritDoc}. */ @Override public Distributor getDistributor() { @@ -171,23 +151,17 @@ public class ConfigrationProviderImpl implements ConfigrationProvider { return getDistributor(distributorKey); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getContextAlbum(org.onap.policy.apex.context. - * Distributor) + /** + * {@inheritDoc}. */ @Override public ContextAlbum getContextAlbum(final Distributor distributor) { return getContextAlbum(distributor, Constants.L_TYPE_CONTEXT_ALBUM, Constants.getAxArtifactKeyArray()); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getContextAlbum(org.onap.policy.apex.context. - * Distributor, org.onap.policy.apex.model.basicmodel.concepts.AxArtifactKey, - * org.onap.policy.apex.model.basicmodel.concepts.AxArtifactKey[]) + /** + * {@inheritDoc}. + *[]) */ @Override public ContextAlbum getContextAlbum(final Distributor distributor, final AxArtifactKey axContextAlbumKey, @@ -204,10 +178,8 @@ public class ConfigrationProviderImpl implements ConfigrationProvider { } } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getContextAlbumInitValues() + /** + * {@inheritDoc}. */ @Override public Map getContextAlbumInitValues() { @@ -218,20 +190,16 @@ public class ConfigrationProviderImpl implements ConfigrationProvider { return values; } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getAlbumModifier() + /** + * {@inheritDoc}. */ @Override public AlbumModifier getAlbumModifier() { return lockType.getAlbumModifier(); } - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.context.test.utils.ConfigrationProvider#getLockType() + /** + * {@inheritDoc}. */ @Override public LockType getLockType() { @@ -250,10 +218,8 @@ public class ConfigrationProviderImpl implements ConfigrationProvider { : testType + ":TestConcurrentContextJVMThread_"; } - /* - * (non-Javadoc) - * - * @see java.lang.Object#toString() + /** + * {@inheritDoc}. */ @Override public String toString() { diff --git a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/utils/IntegrationThreadFactory.java b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/utils/IntegrationThreadFactory.java index 271bb9519..a93358d65 100644 --- a/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/utils/IntegrationThreadFactory.java +++ b/testsuites/integration/integration-context-test/src/test/java/org/onap/policy/apex/testsuites/integration/context/utils/IntegrationThreadFactory.java @@ -47,8 +47,8 @@ public class IntegrationThreadFactory implements ThreadFactory { this.threadFactoryName = threadFactoryName; } - /* (non-Javadoc) - * @see java.util.concurrent.ThreadFactory#newThread(java.lang.Runnable) + /** + * {@inheritDoc}. */ @Override public Thread newThread(final Runnable runnable) { diff --git a/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/engine/TestApexActionListener.java b/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/engine/TestApexActionListener.java index 2860f1736..8a3d238a6 100644 --- a/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/engine/TestApexActionListener.java +++ b/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/engine/TestApexActionListener.java @@ -74,12 +74,8 @@ public class TestApexActionListener implements EnEventListener { return result; } - /* - * (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 actionEvent) { diff --git a/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/handling/TestApexSamplePolicyModelCreator.java b/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/handling/TestApexSamplePolicyModelCreator.java index 7e44dd32e..f8afc665f 100644 --- a/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/handling/TestApexSamplePolicyModelCreator.java +++ b/testsuites/integration/integration-executor-test/src/test/java/org/onap/policy/apex/testsuites/integration/executor/handling/TestApexSamplePolicyModelCreator.java @@ -41,40 +41,40 @@ public class TestApexSamplePolicyModelCreator implements TestApexModelCreator list(final Name name) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#list(java.lang.String) + /** + * {@inheritDoc}. */ @Override public NamingEnumeration list(final String name) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#listBindings(javax.naming.Name) + /** + * {@inheritDoc}. */ @Override public NamingEnumeration listBindings(final Name name) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#listBindings(java.lang.String) + /** + * {@inheritDoc}. */ @Override public NamingEnumeration listBindings(final String name) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#destroySubcontext(javax.naming.Name) + /** + * {@inheritDoc}. */ @Override public void destroySubcontext(final Name name) throws NamingException {} - /* (non-Javadoc) - * @see javax.naming.Context#destroySubcontext(java.lang.String) + /** + * {@inheritDoc}. */ @Override public void destroySubcontext(final String name) throws NamingException {} - /* (non-Javadoc) - * @see javax.naming.Context#createSubcontext(javax.naming.Name) + /** + * {@inheritDoc}. */ @Override public Context createSubcontext(final Name name) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#createSubcontext(java.lang.String) + /** + * {@inheritDoc}. */ @Override public Context createSubcontext(final String name) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#lookupLink(javax.naming.Name) + /** + * {@inheritDoc}. */ @Override public Object lookupLink(final Name name) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#lookupLink(java.lang.String) + /** + * {@inheritDoc}. */ @Override public Object lookupLink(final String name) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#getNameParser(javax.naming.Name) + /** + * {@inheritDoc}. */ @Override public NameParser getNameParser(final Name name) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#getNameParser(java.lang.String) + /** + * {@inheritDoc}. */ @Override public NameParser getNameParser(final String name) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#composeName(javax.naming.Name, javax.naming.Name) + /** + * {@inheritDoc}. */ @Override public Name composeName(final Name name, final Name prefix) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#composeName(java.lang.String, java.lang.String) + /** + * {@inheritDoc}. */ @Override public String composeName(final String name, final String prefix) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#addToEnvironment(java.lang.String, java.lang.Object) + /** + * {@inheritDoc}. */ @Override public Object addToEnvironment(final String propName, final Object propVal) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#removeFromEnvironment(java.lang.String) + /** + * {@inheritDoc}. */ @Override public Object removeFromEnvironment(final String propName) throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#getEnvironment() + /** + * {@inheritDoc}. */ @Override public Hashtable getEnvironment() throws NamingException { return null; } - /* (non-Javadoc) - * @see javax.naming.Context#close() + /** + * {@inheritDoc}. */ @Override public void close() throws NamingException {} - /* (non-Javadoc) - * @see javax.naming.Context#getNameInNamespace() + /** + * {@inheritDoc}. */ @Override public String getNameInNamespace() throws NamingException { diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/jms/TestInitialContextFactory.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/jms/TestInitialContextFactory.java index d04cd5791..ddd70a3b9 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/jms/TestInitialContextFactory.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/jms/TestInitialContextFactory.java @@ -42,10 +42,8 @@ public class TestInitialContextFactory implements InitialContextFactory { */ public TestInitialContextFactory() throws NamingException {} - /* - * (non-Javadoc) - * - * @see javax.naming.spi.InitialContextFactory#getInitialContext(java.util.Hashtable) + /** + * {@inheritDoc}. */ @Override public Context getInitialContext(final Hashtable environment) throws NamingException { diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/kafka/KafkaEventProducer.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/kafka/KafkaEventProducer.java index 63da4e696..bafce8d06 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/kafka/KafkaEventProducer.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/kafka/KafkaEventProducer.java @@ -68,10 +68,8 @@ public class KafkaEventProducer implements Runnable { producerThread.start(); } - /* - * (non-Javadoc) - * - * @see java.lang.Runnable#run() + /** + * {@inheritDoc}. */ @Override public void run() { diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/kafka/KafkaEventSubscriber.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/kafka/KafkaEventSubscriber.java index 54ee9ba92..8db6919f0 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/kafka/KafkaEventSubscriber.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/kafka/KafkaEventSubscriber.java @@ -72,10 +72,8 @@ public class KafkaEventSubscriber implements Runnable { subscriberThread.start(); } - /* - * (non-Javadoc) - * - * @see java.lang.Runnable#run() + /** + * {@inheritDoc}. */ @Override public void run() { diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventProducerClient.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventProducerClient.java index 84a337362..46973290a 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventProducerClient.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventProducerClient.java @@ -107,12 +107,8 @@ public class WebSocketEventProducerClient implements WsStringMessageListener { System.out.println(WebSocketEventProducerClient.class.getCanonicalName() + ": stopped"); } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.core.infrastructure.messaging.stringmessaging.WSStringMessageListener# - * receiveString(java.lang.String) + /** + * {@inheritDoc}. */ @Override public void receiveString(final String eventString) { diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventProducerServer.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventProducerServer.java index 3e5ff714e..b75d99ff0 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventProducerServer.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventProducerServer.java @@ -105,12 +105,8 @@ public class WebSocketEventProducerServer implements WsStringMessageListener { System.out.println(WebSocketEventProducerServer.class.getCanonicalName() + ": stopped"); } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.core.infrastructure.messaging.stringmessaging.WSStringMessageListener# - * receiveString(java.lang.String) + /** + * {@inheritDoc}. */ @Override public void receiveString(final String eventString) { diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventSubscriberClient.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventSubscriberClient.java index 6477a0dc9..fab51529a 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventSubscriberClient.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventSubscriberClient.java @@ -47,12 +47,8 @@ public class WebSocketEventSubscriberClient implements WsStringMessageListener { client.start(this); } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.core.infrastructure.messaging.stringmessaging.WSStringMessageListener# - * receiveString(java.lang.String) + /** + * {@inheritDoc}. */ @Override public void receiveString(final String eventString) { diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventSubscriberServer.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventSubscriberServer.java index 92329236f..edd6d7961 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventSubscriberServer.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/adapt/websocket/WebSocketEventSubscriberServer.java @@ -49,12 +49,8 @@ public class WebSocketEventSubscriberServer implements WsStringMessageListener { WebSocketEventSubscriberServer.class.getCanonicalName() + ": port " + port + ", waiting for events"); } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.core.infrastructure.messaging.stringmessaging.WSStringMessageListener# - * receiveString(java.lang.String) + /** + * {@inheritDoc}. */ @Override public void receiveString(final String eventString) { diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engdep/EngineTestServer.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engdep/EngineTestServer.java index 9e6ff67ca..585787c28 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engdep/EngineTestServer.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engdep/EngineTestServer.java @@ -75,10 +75,8 @@ public class EngineTestServer implements Runnable, EngineServiceEventInterface { this.parameters = parameters; } - /* - * (non-Javadoc) - * - * @see java.lang.Runnable#run() + /** + * {@inheritDoc}. */ @Override public void run() { @@ -192,12 +190,8 @@ public class EngineTestServer implements Runnable, EngineServiceEventInterface { return starting; } - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.service.engine.runtime.EngineServiceEventInterface#sendEvent(org.onap. - * policy.apex.service.engine.event.ApexEvent) + /** + * {@inheritDoc}. */ @Override public void sendEvent(final ApexEvent event) { @@ -217,12 +211,8 @@ public class EngineTestServer implements Runnable, EngineServiceEventInterface { */ private final class TestApexListener implements ApexEventListener { - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.service.engine.runtime.ApexEventListener#onApexEvent(org.onap.policy - * .apex.service.engine.event.ApexEvent) + /** + * {@inheritDoc}. */ @Override public synchronized void onApexEvent(final ApexEvent apexEvent) { diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engine/ApexServiceModelUpdateTest.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engine/ApexServiceModelUpdateTest.java index ff6a3a279..3ea4bde84 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engine/ApexServiceModelUpdateTest.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engine/ApexServiceModelUpdateTest.java @@ -364,11 +364,8 @@ public class ApexServiceModelUpdateTest { */ private final class TestListener implements ApexEventListener { - /* - * (non-Javadoc) - * - * @see org.onap.policy.apex.service.engine.runtime.ApexEventListener#onApexEvent(org.onap.policy - * .apex.service.engine.event.ApexEvent) + /** + * {@inheritDoc}. */ @Override public synchronized void onApexEvent(final ApexEvent event) { diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engine/ApexServiceTest.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engine/ApexServiceTest.java index f8e9f2c37..34893ca5c 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engine/ApexServiceTest.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engine/ApexServiceTest.java @@ -477,12 +477,8 @@ public class ApexServiceTest { */ private static final class TestListener implements ApexEventListener { - /* - * (non-Javadoc) - * - * @see - * org.onap.policy.apex.service.engine.runtime.ApexEventListener#onApexEvent(org.onap.policy - * .apex.service.engine.event.ApexEvent) + /** + * {@inheritDoc}. */ @Override public synchronized void onApexEvent(final ApexEvent event) { diff --git a/testsuites/performance/performance-benchmark-test/src/main/java/org/onap/policy/apex/testsuites/performance/benchmark/eventgenerator/EventGenerator.java b/testsuites/performance/performance-benchmark-test/src/main/java/org/onap/policy/apex/testsuites/performance/benchmark/eventgenerator/EventGenerator.java index a5ed37803..40bab1173 100644 --- a/testsuites/performance/performance-benchmark-test/src/main/java/org/onap/policy/apex/testsuites/performance/benchmark/eventgenerator/EventGenerator.java +++ b/testsuites/performance/performance-benchmark-test/src/main/java/org/onap/policy/apex/testsuites/performance/benchmark/eventgenerator/EventGenerator.java @@ -126,10 +126,8 @@ public class EventGenerator { * This class is a shutdown hook for the Apex editor command. */ private class EventGeneratorShutdownHook implements Runnable { - /* - * (non-Javadoc) - * - * @see java.lang.Runnable#run() + /** + * {@inheritDoc}. */ @Override public void run() { -- cgit 1.2.3-korg