summaryrefslogtreecommitdiffstats
path: root/models-base/src/main
diff options
context:
space:
mode:
authorlapentafd <francesco.lapenta@est.tech>2021-03-01 17:09:28 +0000
committerlapentafd <francesco.lapenta@est.tech>2021-03-03 15:56:45 +0000
commit24e47e99077ab0b7608fca68bd30a7bc70e766c2 (patch)
tree395717e81b1f1024a299ae485beeedbad6ba0722 /models-base/src/main
parent726bec7cd5e1b0f5c45b3ec58bc64e344240e8c9 (diff)
Fix sonar issues on policy-models
Tests refactoring to reduce number of assertions to less then 25 Issue-ID: POLICY-3094 Change-Id: Icd3d83c7f8168dd81df13a584229eab36c646f37 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Diffstat (limited to 'models-base/src/main')
-rw-r--r--models-base/src/main/java/org/onap/policy/models/base/PfTimestampKey.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/models-base/src/main/java/org/onap/policy/models/base/PfTimestampKey.java b/models-base/src/main/java/org/onap/policy/models/base/PfTimestampKey.java
index a99651999..22d29f745 100644
--- a/models-base/src/main/java/org/onap/policy/models/base/PfTimestampKey.java
+++ b/models-base/src/main/java/org/onap/policy/models/base/PfTimestampKey.java
@@ -113,7 +113,7 @@ public class PfTimestampKey extends PfKeyImpl {
}
public void setInstant(final Instant instant) {
- setTimeStamp(Timestamp.from(instant));;
+ setTimeStamp(Timestamp.from(instant));
}
@Override