diff options
author | Indrijeet kumar <indriku1@in.ibm.com> | 2020-06-15 09:12:11 +0530 |
---|---|---|
committer | Indrijeet kumar <indriku1@in.ibm.com> | 2020-06-15 09:12:21 +0530 |
commit | a3bd207da8e2338234a68bfb27e78b0748af7231 (patch) | |
tree | 6bf5058d6ff7d347d141b6924292b66c1fb039f4 | |
parent | 88a56a8071697d2a7dfa7db7e32c8a496218fb70 (diff) |
Added a private constructor in EcompExternalAuthUt
Added a private constructor in EcompExternalAuthutils.java
Issue-ID: PORTAL-813
Change-Id: I8651fc68518916dbdc3c3ec02da4c6f9d59ad8b6
Signed-off-by: Indrijeet Kumar <indriku1@in.ibm.com>
-rw-r--r-- | ecomp-sdk/epsdk-aaf/src/main/java/org/onap/portalsdk/external/authorization/util/EcompExternalAuthUtils.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-aaf/src/main/java/org/onap/portalsdk/external/authorization/util/EcompExternalAuthUtils.java b/ecomp-sdk/epsdk-aaf/src/main/java/org/onap/portalsdk/external/authorization/util/EcompExternalAuthUtils.java index 8a2c1206..b3bd6c14 100644 --- a/ecomp-sdk/epsdk-aaf/src/main/java/org/onap/portalsdk/external/authorization/util/EcompExternalAuthUtils.java +++ b/ecomp-sdk/epsdk-aaf/src/main/java/org/onap/portalsdk/external/authorization/util/EcompExternalAuthUtils.java @@ -50,6 +50,10 @@ import org.springframework.http.MediaType; import com.fasterxml.jackson.databind.ObjectMapper; public class EcompExternalAuthUtils { + //Added a private constructor to hide the implicit public one. + private EcompExternalAuthUtils() { + throw new IllegalStateException("Utility class"); + } private static final EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(EcompExternalAuthUtils.class); |