From 0498f0edeb6d8ee010760533f1de210a1f39a0f3 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Wed, 19 Sep 2018 12:00:26 -0500 Subject: textual cleanup for M4 Issue-ID: AAF-509 Change-Id: Ib109ba404f158bbffb6dc60c96850fd7e56871fd Signed-off-by: Instrumental --- .../src/main/java/org/onap/aaf/auth/dao/hl/Question.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'auth/auth-cass/src/main/java/org') diff --git a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java index 43a88aa5..18b57d8b 100644 --- a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java +++ b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java @@ -393,12 +393,12 @@ public class Question { return Result.ok(nsd); } else { int dot = str.lastIndexOf('.'); - - if (dot < 0) { - return Result.err(Status.ERR_NsNotFound, "No Namespace for [%s]", str); - } else { - return deriveFirstNsForType(trans, str.substring(0, dot),type); - } + + if (dot < 0) { + return Result.err(Status.ERR_NsNotFound, "No Namespace for [%s]", str); + } else { + return deriveFirstNsForType(trans, str.substring(0, dot),type); + } } } else { return Result.err(Status.ERR_NsNotFound,"There is no valid Company Namespace for %s",str); -- cgit 1.2.3-korg