diff options
author | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-10-14 21:33:19 +0530 |
---|---|---|
committer | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-10-14 21:33:26 +0530 |
commit | 97fafba4b6819329c164b47df555914414b672b3 (patch) | |
tree | 92c1e7ffe74fc9d5af24d4b734a094939a0db6a5 /auth/auth-batch/src/main | |
parent | 57453f82af014148e7be6cb025069123c0a27672 (diff) |
Extend.java-Extract the assignment out of the expression
Extract the assignment out of the expression
Issue-ID: AAF-876
Change-Id: I9821c5bf3ffcf38633b00e60367d42ab7d8bdb4b
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'auth/auth-batch/src/main')
-rw-r--r-- | auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/update/Extend.java | 3 |
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..8ea78df6 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 @@ -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); } } }); |