summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gathman <jonathan.gathman@att.com>2018-09-18 11:44:39 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-18 11:44:39 +0000
commite66b95f220bbef1efeaee337749f91e7b15b1fd7 (patch)
treea8c15763cfd666d7d50f887a0f5558b57c5d6603
parenta38dd57c55262c2960c5ec70131ed2f8d979e6b6 (diff)
parent82e99b5cf2785749bc433246bf868fdbd66b56de (diff)
Merge "ActionPuntDAO.java: Fixed sonar issue"
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/actions/ActionPuntDAO.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/actions/ActionPuntDAO.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/actions/ActionPuntDAO.java
index 707425ca..ed032c95 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/actions/ActionPuntDAO.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/actions/ActionPuntDAO.java
@@ -31,21 +31,17 @@ import org.onap.aaf.misc.env.APIException;
import com.datastax.driver.core.Cluster;
public abstract class ActionPuntDAO<D, RV, T> extends ActionDAO<D, RV, T> {
-// private static final SecureRandom random = new SecureRandom();
private int months;
-// private int range;
protected static final Date now = new Date();
public ActionPuntDAO(AuthzTrans trans, Cluster cluster, int months, int range, boolean dryRun) throws APIException, IOException {
super(trans, cluster,dryRun);
this.months = months;
-// this.range = range;
}
public ActionPuntDAO(AuthzTrans trans, ActionDAO<?, ?,?> predecessor, int months, int range) {
super(trans, predecessor);
this.months = months;
-// this.range = range;
}
@@ -56,7 +52,6 @@ public abstract class ActionPuntDAO<D, RV, T> extends ActionDAO<D, RV, T> {
/*
* This method Randomized date. This is no longer needed. Just add the Punt Months.
- temp.setTime(now);
temp.add(GregorianCalendar.MONTH, months);
if (range>0) {
int forward = Math.abs(random.nextInt()%range);