aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Nelson <nelson24@att.com>2019-09-11 16:40:30 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-11 16:40:30 +0000
commitaaa3b78f44dc513cc4e37fcfe0baf6fa45f83603 (patch)
treeae9292bb7454f57b0f93bc11d91da3415e29ee4d /src
parentdcaa233e007837f0bfdb111aed66a9afb71f2848 (diff)
parenta844e4ef3ac50c1b47713ba22feae8863307fed0 (diff)
Merge "Move this constructor to comply with Java Code Conventions"
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main/java/org/onap/music/main/MusicUtil.java10
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