From 850efa508aac7251db71cc19f59c0ba8cb951bfa Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Mon, 21 Oct 2019 19:33:59 +0530 Subject: Function.java - Extract the assignment Issue-ID: AAF-876 Change-Id: I1a9d0952df7d99fd88541d064b7581b2b4a725e0 Signed-off-by: Thugutla sailakshmi --- auth/auth-cass/src/main/java/org/onap/aaf/auth/dao/hl/Function.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'auth/auth-cass/src') 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); } -- cgit 1.2.3-korg