Extend.java-Extract the assignment out of the expression 70/97070/1
authorThugutla sailakshmi <tsaila10@in.ibm.com>
Mon, 14 Oct 2019 16:03:19 +0000 (21:33 +0530)
committerThugutla sailakshmi <tsaila10@in.ibm.com>
Mon, 14 Oct 2019 16:03:26 +0000 (21:33 +0530)
Extract the assignment out of the expression

Issue-ID: AAF-876
Change-Id: I9821c5bf3ffcf38633b00e60367d42ab7d8bdb4b
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..8ea78df 100644 (file)
@@ -189,7 +189,8 @@ public class Extend extends Batch {
                         if(i%maxBatch==0 && sb!=null) {
                             cqlBatch.execute(dryRun);
                             hi.set(1);
-                            hsb.set(sb=null);
+                            sb=null;
+                            hsb.set(sb);
                         }
                     }
                 });