From 3ab54a2340f40d11d9a0a3994f579baeeb6c0ca6 Mon Sep 17 00:00:00 2001 From: Dinh Danh Le Date: Tue, 14 Aug 2018 12:32:51 +0100 Subject: Fix checkstyle warnings in the auth package Change-Id: I64f783d5325301862e2438ac5d22cfcc0a150579 Signed-off-by: Dinh Danh Le Issue-ID: POLICY-1034 --- .../apex/auth/clicodegen/StErrorListener.java | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'auth/cli-codegen/src/test/java/org') diff --git a/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/StErrorListener.java b/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/StErrorListener.java index ed703da82..28e32bca6 100644 --- a/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/StErrorListener.java +++ b/auth/cli-codegen/src/test/java/org/onap/policy/apex/auth/clicodegen/StErrorListener.java @@ -39,8 +39,8 @@ public class StErrorListener implements STErrorListener { @Override public void IOError(final STMessage msg) { switch (msg.error) { - default: - this.registerErrors(msg); + default: + this.registerErrors(msg); } } @@ -50,8 +50,8 @@ public class StErrorListener implements STErrorListener { @Override public void compileTimeError(final STMessage msg) { switch (msg.error) { - default: - this.registerErrors(msg); + default: + this.registerErrors(msg); } } @@ -61,8 +61,8 @@ public class StErrorListener implements STErrorListener { @Override public void internalError(final STMessage msg) { switch (msg.error) { - default: - this.registerErrors(msg); + default: + this.registerErrors(msg); } } @@ -72,18 +72,18 @@ public class StErrorListener implements STErrorListener { @Override public void runTimeError(final STMessage msg) { switch (msg.error) { - case NO_SUCH_PROPERTY: - case ARGUMENT_COUNT_MISMATCH: - case ANON_ARGUMENT_MISMATCH: - break; - default: - this.registerErrors(msg); + case NO_SUCH_PROPERTY: + case ARGUMENT_COUNT_MISMATCH: + case ANON_ARGUMENT_MISMATCH: + break; + default: + this.registerErrors(msg); } } /** * Registers an error with the local error listener and increases the error count. - * + * * @param msg error message */ protected void registerErrors(final STMessage msg) { -- cgit 1.2.3-korg