summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/CQLBatch.java5
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;