diff options
author | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-08-29 22:37:21 +0530 |
---|---|---|
committer | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-08-29 22:37:31 +0530 |
commit | a844e4ef3ac50c1b47713ba22feae8863307fed0 (patch) | |
tree | 1e62a48ddca73faaa6e59dfa589f246bb2466706 /src/main/java/org/onap | |
parent | 894892a88d08c12f0e77234852b14112e1d66cd6 (diff) |
Move this constructor to comply with Java Code Conventions
Move this constructor to comply with Java Code Conventions
Issue-ID: MUSIC-463
Change-Id: Ifb9b8c1bf4b76074061b1123886dcfc78f7b7186
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'src/main/java/org/onap')
-rwxr-xr-x | src/main/java/org/onap/music/main/MusicUtil.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/onap/music/main/MusicUtil.java b/src/main/java/org/onap/music/main/MusicUtil.java index 21e5c255..d46e770e 100755 --- a/src/main/java/org/onap/music/main/MusicUtil.java +++ b/src/main/java/org/onap/music/main/MusicUtil.java @@ -4,7 +4,7 @@ * =================================================================== * Copyright (c) 2017 AT&T Intellectual Property * =================================================================== - * Modifications Copyright (c) 2018 IBM. + * Modifications Copyright (c) 2019 IBM. * Modifications Copyright (c) 2019 Samsung. * =================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); @@ -158,7 +158,10 @@ public class MusicUtil { private static Boolean messageIdRequired = false; private static String cipherEncKey = ""; - + public MusicUtil() { + throw new IllegalStateException("Utility Class"); + } + public static String getLockUsing() { return lockUsing; } @@ -167,9 +170,6 @@ public class MusicUtil { MusicUtil.lockUsing = lockUsing; } - public MusicUtil() { - throw new IllegalStateException("Utility Class"); - } /** * * @return cassandra port |