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 --- .../policy/apex/auth/clicodegen/CgStringRenderer.java | 7 ++----- .../apex/auth/clicodegen/DummyStErrorListener.java | 16 ++++++++-------- 2 files changed, 10 insertions(+), 13 deletions(-) (limited to 'auth/cli-codegen') diff --git a/auth/cli-codegen/src/main/java/org/onap/policy/apex/auth/clicodegen/CgStringRenderer.java b/auth/cli-codegen/src/main/java/org/onap/policy/apex/auth/clicodegen/CgStringRenderer.java index dbf8f3844..f17ac6a1e 100644 --- a/auth/cli-codegen/src/main/java/org/onap/policy/apex/auth/clicodegen/CgStringRenderer.java +++ b/auth/cli-codegen/src/main/java/org/onap/policy/apex/auth/clicodegen/CgStringRenderer.java @@ -33,11 +33,8 @@ import org.stringtemplate.v4.StringRenderer; */ public class CgStringRenderer implements AttributeRenderer { - /* - * (non-Javadoc) - * - * @see org.stringtemplate.v4.AttributeRenderer#toString(java.lang.Object, java.lang.String, - * java.util.Locale) + /** + * {@inheritDoc}. */ @Override public String toString(final Object obj, final String format, final Locale locale) { diff --git a/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/DummyStErrorListener.java b/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/DummyStErrorListener.java index 33387accc..45d307b47 100644 --- a/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/DummyStErrorListener.java +++ b/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/DummyStErrorListener.java @@ -33,8 +33,8 @@ public class DummyStErrorListener implements STErrorListener { /** Counts errors of the listener. */ private int errorCount; - /* (non-Javadoc) - * @see org.stringtemplate.v4.STErrorListener#IOError(org.stringtemplate.v4.misc.STMessage) + /** + * {@inheritDoc}. */ @Override public void IOError(final STMessage msg) { @@ -44,8 +44,8 @@ public class DummyStErrorListener implements STErrorListener { } } - /* (non-Javadoc) - * @see org.stringtemplate.v4.STErrorListener#compileTimeError(org.stringtemplate.v4.misc.STMessage) + /** + * {@inheritDoc}. */ @Override public void compileTimeError(final STMessage msg) { @@ -55,8 +55,8 @@ public class DummyStErrorListener implements STErrorListener { } } - /* (non-Javadoc) - * @see org.stringtemplate.v4.STErrorListener#internalError(org.stringtemplate.v4.misc.STMessage) + /** + * {@inheritDoc}. */ @Override public void internalError(final STMessage msg) { @@ -66,8 +66,8 @@ public class DummyStErrorListener implements STErrorListener { } } - /* (non-Javadoc) - * @see org.stringtemplate.v4.STErrorListener#runTimeError(org.stringtemplate.v4.misc.STMessage) + /** + * {@inheritDoc}. */ @Override public void runTimeError(final STMessage msg) { -- cgit 1.2.3-korg