Merge "Extract the assignment out of this expression"
authorJonathan Gathman <jonathan.gathman@att.com>
Mon, 14 Oct 2019 20:45:35 +0000 (20:45 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 14 Oct 2019 20:45:35 +0000 (20:45 +0000)
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":