summaryrefslogtreecommitdiffstats
path: root/feature-lifecycle
diff options
context:
space:
mode:
Diffstat (limited to 'feature-lifecycle')
-rw-r--r--feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java
index a595877a..be45d1c9 100644
--- a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java
+++ b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java
@@ -22,9 +22,9 @@
package org.onap.policy.drools.lifecycle;
import java.lang.reflect.InvocationTargetException;
+import java.time.Instant;
import java.util.ArrayList;
import java.util.Collections;
-import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
@@ -597,7 +597,7 @@ public class LifecycleFsm implements Startable {
private PdpStatistics statisticsPayload() {
PdpStatistics updateStats = new PdpStatistics(stats);
- updateStats.setTimeStamp(new Date());
+ updateStats.setTimeStamp(Instant.now());
try {
BeanUtils.copyProperties(updateStats, PolicyEngineConstants.getManager().getStats());