diff options
Diffstat (limited to 'ecomp-sdk')
-rw-r--r-- | ecomp-sdk/epsdk-music/src/main/java/org/onap/portalapp/music/util/MusicCleanUp.java | 5 |
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; } |