diff options
author | Instrumental <jonathan.gathman@att.com> | 2019-10-15 10:00:37 -0500 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2019-10-15 10:00:41 -0500 |
commit | 0598a034592fdfb0bf7a971066f325e7b6594994 (patch) | |
tree | db11cb87c6c37ae604f26f6cda141ba243b82ffd /auth/auth-batch/src | |
parent | 1296352d8eafee57f982a4342ad79ada4aa56d28 (diff) |
Another Sonar adjustment
Issue-ID: AAF-1019
Change-Id: Ifebca566d9eb72eaa280429d2cffa9a826844abe
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-batch/src')
-rw-r--r-- | auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CQLBatch.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CQLBatch.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CQLBatch.java index ccfb1c5f..a045b74a 100644 --- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CQLBatch.java +++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CQLBatch.java @@ -20,7 +20,6 @@ package org.onap.aaf.auth.batch.helpers; -import org.onap.aaf.cadi.Access; import org.onap.aaf.misc.env.LogTarget; import com.datastax.driver.core.ResultSet; @@ -68,7 +67,7 @@ public class CQLBatch { } catch (InterruptedException e) { // PER ORACLE, this isn't actually needed, but Sonar idiocy // requires something or flags as error. - return null; + Thread.currentThread().interrupt(); } } last = System.currentTimeMillis() + sleep; @@ -90,7 +89,7 @@ public class CQLBatch { } catch (InterruptedException e) { // PER ORACLE, this isn't actually needed, but Sonar idiocy // requires something or flags as error. - return null; + Thread.currentThread().interrupt(); } } last = System.currentTimeMillis() + sleep; |