summaryrefslogtreecommitdiffstats
path: root/context/context-management/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 /context/context-management/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 'context/context-management/src/test')
-rw-r--r--context/context-management/src/test/java/org/onap/policy/apex/context/impl/DummyContextAlbumImpl.java140
1 files changed, 46 insertions, 94 deletions
diff --git a/context/context-management/src/test/java/org/onap/policy/apex/context/impl/DummyContextAlbumImpl.java b/context/context-management/src/test/java/org/onap/policy/apex/context/impl/DummyContextAlbumImpl.java
index 9109ec694..f080c1f09 100644
--- a/context/context-management/src/test/java/org/onap/policy/apex/context/impl/DummyContextAlbumImpl.java
+++ b/context/context-management/src/test/java/org/onap/policy/apex/context/impl/DummyContextAlbumImpl.java
@@ -38,90 +38,72 @@ import org.onap.policy.apex.model.contextmodel.concepts.AxContextAlbum;
*/
public class DummyContextAlbumImpl implements ContextAlbum {
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#clear()
+ /**
+ * {@inheritDoc}.
*/
@Override
public void clear() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#containsKey(java.lang.Object)
+ /**
+ * {@inheritDoc}.
*/
@Override
public boolean containsKey(Object key) {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#containsValue(java.lang.Object)
+ /**
+ * {@inheritDoc}.
*/
@Override
public boolean containsValue(Object value) {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#entrySet()
+ /**
+ * {@inheritDoc}.
*/
@Override
public Set<Entry<String, Object>> entrySet() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#get(java.lang.Object)
+ /**
+ * {@inheritDoc}.
*/
@Override
public Object get(Object key) {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#isEmpty()
+ /**
+ * {@inheritDoc}.
*/
@Override
public boolean isEmpty() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#keySet()
+ /**
+ * {@inheritDoc}.
*/
@Override
public Set<String> keySet() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#put(java.lang.Object, java.lang.Object)
+ /**
+ * {@inheritDoc}.
*/
@Override
public Object put(String key, Object value) {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#putAll(java.util.Map)
+ /**
+ * {@inheritDoc}.
*/
@Override
public void putAll(Map<? extends String, ? extends Object> map) {
@@ -129,80 +111,64 @@ public class DummyContextAlbumImpl implements ContextAlbum {
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#remove(java.lang.Object)
+ /**
+ * {@inheritDoc}.
*/
@Override
public Object remove(Object key) {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#size()
+ /**
+ * {@inheritDoc}.
*/
@Override
public int size() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see java.util.Map#values()
+ /**
+ * {@inheritDoc}.
*/
@Override
public Collection<Object> values() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.context.ContextAlbum#getKey()
+ /**
+ * {@inheritDoc}.
*/
@Override
public AxArtifactKey getKey() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.context.ContextAlbum#getName()
+ /**
+ * {@inheritDoc}.
*/
@Override
public String getName() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.context.ContextAlbum#getAlbumDefinition()
+ /**
+ * {@inheritDoc}.
*/
@Override
public AxContextAlbum getAlbumDefinition() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.context.ContextAlbum#getSchemaHelper()
+ /**
+ * {@inheritDoc}.
*/
@Override
public SchemaHelper getSchemaHelper() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.context.ContextAlbum#lockForReading(java.lang.String)
+ /**
+ * {@inheritDoc}.
*/
@Override
public void lockForReading(String key) throws ContextException {
@@ -210,10 +176,8 @@ public class DummyContextAlbumImpl implements ContextAlbum {
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.context.ContextAlbum#lockForWriting(java.lang.String)
+ /**
+ * {@inheritDoc}.
*/
@Override
public void lockForWriting(String key) throws ContextException {
@@ -221,10 +185,8 @@ public class DummyContextAlbumImpl implements ContextAlbum {
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.context.ContextAlbum#unlockForReading(java.lang.String)
+ /**
+ * {@inheritDoc}.
*/
@Override
public void unlockForReading(String key) throws ContextException {
@@ -232,10 +194,8 @@ public class DummyContextAlbumImpl implements ContextAlbum {
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.context.ContextAlbum#unlockForWriting(java.lang.String)
+ /**
+ * {@inheritDoc}.
*/
@Override
public void unlockForWriting(String key) throws ContextException {
@@ -243,22 +203,16 @@ public class DummyContextAlbumImpl implements ContextAlbum {
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.context.ContextAlbum#getUserArtifactStack()
+ /**
+ * {@inheritDoc}.
*/
@Override
public AxConcept[] getUserArtifactStack() {
throw new NotImplementedException("Not Implemeted on dummy class");
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.onap.policy.apex.context.ContextAlbum#setUserArtifactStack(org.onap.policy.apex.model.basicmodel.concepts.
- * AxConcept[])
+ /**
+ * {@inheritDoc}.
*/
@Override
public void setUserArtifactStack(AxConcept[] userArtifactStack) {
@@ -266,10 +220,8 @@ public class DummyContextAlbumImpl implements ContextAlbum {
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.context.ContextAlbum#flush()
+ /**
+ * {@inheritDoc}.
*/
@Override
public void flush() throws ContextException {