Merge "Extend.java-Extract the assignment out of the expression"
authorJonathan Gathman <jonathan.gathman@att.com>
Mon, 14 Oct 2019 21:00:46 +0000 (21:00 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 14 Oct 2019 21:00:46 +0000 (21:00 +0000)
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/update/Extend.java

index 0077e9f..c65130c 100644 (file)
@@ -190,7 +190,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);
                         }
                     }
                 });