Extract the assignment out of this expression 88/96188/2
authorThugutla sailakshmi <tsaila10@in.ibm.com>
Tue, 24 Sep 2019 17:47:20 +0000 (23:17 +0530)
committerJonathan Gathman <jonathan.gathman@att.com>
Tue, 8 Oct 2019 12:06:19 +0000 (12:06 +0000)
Extract the assignment out of this expression

Issue-ID: AAF-876
Change-Id: Ia6d41e55102b6f24da354149a40796d0b7dd47e1
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/update/Extend.java

index 9e080b6..0077e9f 100644 (file)
@@ -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":