diff options
Diffstat (limited to 'feature-lifecycle/src/main/java/org')
-rw-r--r-- | feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java | 4 |
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 e2c50d4f..1fb1d4f5 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; @@ -588,7 +588,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()); |