summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2019-04-12 11:43:41 +0200
committerburdziak <olaf.burdziakowski@nokia.com>2019-04-12 11:43:41 +0200
commitacdf1fd34f18160ff889179c690b24da04943101 (patch)
tree1f641e406e95ce032b36ad240184be20c7307463 /ecomp-sdk
parent2c6c55376190b63c8bcb76ba876b0a54f9d4fcc5 (diff)
Fix sonar issue in MusicCleanUp
Change-Id: Ibe813d427d5e83d3e1d0e117fb4c5f73aa9345cf Issue-ID: PORTAL-523 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
Diffstat (limited to 'ecomp-sdk')
-rw-r--r--ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicCleanUp.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicCleanUp.java b/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicCleanUp.java
index aab04eaf..72ce5f67 100644
--- a/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicCleanUp.java
+++ b/ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicCleanUp.java
@@ -42,12 +42,13 @@ import java.util.Date;
public class MusicCleanUp {
private static volatile MusicCleanUp musicCleanUp = new MusicCleanUp();
+
+ private Date lastCleanUpTime = new Date();
+
// private constructor restricted to this class itself
private MusicCleanUp(){
}
- private Date lastCleanUpTime = new Date();
-
public static MusicCleanUp getInstance(){
return musicCleanUp;
}