summaryrefslogtreecommitdiffstats
path: root/auth/auth-batch/src/main/java
diff options
context:
space:
mode:
authorThugutla sailakshmi <tsaila10@in.ibm.com>2019-09-24 23:17:20 +0530
committerJonathan Gathman <jonathan.gathman@att.com>2019-10-08 12:06:19 +0000
commit40f1980bd19c56432100b883f75810760d7713a1 (patch)
tree42814262dfb9fe4411e19c24b645b262c47c426c /auth/auth-batch/src/main/java
parent6b7b912348ae60b2217af57749ac00a67080bf12 (diff)
Extract the assignment out of this expression
Extract the assignment out of this expression Issue-ID: AAF-876 Change-Id: Ia6d41e55102b6f24da354149a40796d0b7dd47e1 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'auth/auth-batch/src/main/java')
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/update/Extend.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/update/Extend.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/update/Extend.java
index 9e080b69..0077e9fc 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/update/Extend.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/update/Extend.java
@@ -138,7 +138,8 @@ public class Extend extends Batch {
int i = hi.get();
StringBuilder sb = hsb.get();
if(sb==null) {
- hsb.set(sb=cqlBatch.begin());
+ sb=cqlBatch.begin();
+ hsb.set(sb);
}
switch(row.get(0)) {
case "info":