summaryrefslogtreecommitdiffstats
path: root/auth
diff options
context:
space:
mode:
authorJonathan Gathman <jonathan.gathman@att.com>2019-10-14 20:45:35 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-14 20:45:35 +0000
commit5e5d29a9af11362314ee94d920ea38b0952bd012 (patch)
treea673af54137132e110b0a101d98663a4fcef07e5 /auth
parent130eb66c21d31a5bef773af49d54275b19c60c00 (diff)
parent40f1980bd19c56432100b883f75810760d7713a1 (diff)
Merge "Extract the assignment out of this expression"
Diffstat (limited to 'auth')
-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":