diff options
author | Instrumental <jonathan.gathman@att.com> | 2018-09-19 12:00:26 -0500 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2018-09-19 12:02:30 -0500 |
commit | 0498f0edeb6d8ee010760533f1de210a1f39a0f3 (patch) | |
tree | 3b59033e1dea83a5ec61d2a650684b428d3a4c36 /auth/auth-cass/src/main/java | |
parent | 6f6c62001939a00135e5be10009535b74cdee615 (diff) |
textual cleanup for M4
Issue-ID: AAF-509
Change-Id: Ib109ba404f158bbffb6dc60c96850fd7e56871fd
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-cass/src/main/java')
-rw-r--r-- | auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Question.java | 12 |
1 files changed, 6 insertions, 6 deletions
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); |