diff options
author | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-10-21 19:33:59 +0530 |
---|---|---|
committer | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-10-21 19:35:11 +0530 |
commit | 850efa508aac7251db71cc19f59c0ba8cb951bfa (patch) | |
tree | d2585c43066b39ed1c247ee0413542de9ba4b4c3 /auth/auth-cass/src | |
parent | e6f5dc2031f05882001449ff6e4b405801230e3b (diff) |
Function.java - Extract the assignment
Issue-ID: AAF-876
Change-Id: I1a9d0952df7d99fd88541d064b7581b2b4a725e0
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'auth/auth-cass/src')
-rw-r--r-- | auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Function.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Function.java b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Function.java index d8096188..89643c4d 100644 --- a/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Function.java +++ b/auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Function.java @@ -297,7 +297,8 @@ public class Function { } // VALIDATIONS done... Add NS - if ((rq = q.nsDAO().create(trans, namespace.data())).notOK()) { + rq = q.nsDAO().create(trans, namespace.data()); + if (rq.notOK()) { return Result.err(rq); } |