diff --git a/src/main/java/com/dispose/common/AuthConfigValue.java b/src/main/java/com/dispose/common/AuthConfigValue.java index 7640c964..627cc3b8 100644 --- a/src/main/java/com/dispose/common/AuthConfigValue.java +++ b/src/main/java/com/dispose/common/AuthConfigValue.java @@ -41,4 +41,9 @@ public class AuthConfigValue { * The constant AUTH_WHITE_LIST_CHECK. */ public static volatile boolean AUTH_WHITE_LIST_CHECK = true; + + /** + * Instantiates a new Auth config value. + */ + private AuthConfigValue() {} } diff --git a/src/main/java/com/dispose/common/ConstValue.java b/src/main/java/com/dispose/common/ConstValue.java index acaa86c1..db0821b5 100644 --- a/src/main/java/com/dispose/common/ConstValue.java +++ b/src/main/java/com/dispose/common/ConstValue.java @@ -100,4 +100,8 @@ public class ConstValue { return ConstValue.IP_ADDR_SEGMENT_REG; } + /** + * Instantiates a new Const value. + */ + private ConstValue() {} } diff --git a/src/main/java/com/dispose/common/DisposeConfigValue.java b/src/main/java/com/dispose/common/DisposeConfigValue.java index 797f4d09..857b3c70 100644 --- a/src/main/java/com/dispose/common/DisposeConfigValue.java +++ b/src/main/java/com/dispose/common/DisposeConfigValue.java @@ -7,6 +7,11 @@ package com.dispose.common; */ public class DisposeConfigValue { + /** + * Instantiates a new Dispose config value. + */ + private DisposeConfigValue() {} + /** * The constant CHECK_PROTO_REQUEST_TIMEOUT. */ @@ -47,5 +52,8 @@ public class DisposeConfigValue { */ public static volatile int MIN_SPLIT_PAGE_SIZE = 10; + /** + * The constant ENABLE_UTEST_MOCK. + */ public static volatile boolean ENABLE_UTEST_MOCK = false; } diff --git a/src/main/java/com/dispose/common/DpTechConfigValue.java b/src/main/java/com/dispose/common/DpTechConfigValue.java index 898d3aa3..3773f292 100644 --- a/src/main/java/com/dispose/common/DpTechConfigValue.java +++ b/src/main/java/com/dispose/common/DpTechConfigValue.java @@ -7,11 +7,16 @@ package com.dispose.common; */ public class DpTechConfigValue { /** - * The constant SOAP_CONNECT_TIMEOUT. + * Instantiates a new Dp tech config value. + */ + private DpTechConfigValue () {} + + /** + * The constant SOAP_CONNECT_TIMEOUT_SECOND. */ public static volatile long SOAP_CONNECT_TIMEOUT_SECOND = 60; /** - * The constant SOAP_RECEIVE_TIMEOUT. + * The constant SOAP_RECEIVE_TIMEOUT_SECOND. */ public static volatile long SOAP_RECEIVE_TIMEOUT_SECOND = 60; } diff --git a/src/main/java/com/dispose/common/Helper.java b/src/main/java/com/dispose/common/Helper.java index 99d28755..cb7a738e 100644 --- a/src/main/java/com/dispose/common/Helper.java +++ b/src/main/java/com/dispose/common/Helper.java @@ -23,6 +23,11 @@ import java.util.stream.Collectors; */ public class Helper { + /** + * Instantiates a new Helper. + */ + private Helper () {} + /** * Gets current datetime. * diff --git a/src/main/java/com/dispose/common/PrivacyHelper.java b/src/main/java/com/dispose/common/PrivacyHelper.java index eac15e40..ea339d8c 100644 --- a/src/main/java/com/dispose/common/PrivacyHelper.java +++ b/src/main/java/com/dispose/common/PrivacyHelper.java @@ -10,6 +10,12 @@ import inet.ipaddr.IPAddressString; * @author */ public class PrivacyHelper { + + /** + * Instantiates a new Privacy helper. + */ + private PrivacyHelper() {} + /** * Ip address privacy string. * diff --git a/src/main/java/com/dispose/common/SecurityConfigValue.java b/src/main/java/com/dispose/common/SecurityConfigValue.java index 6eb12e03..351ae796 100644 --- a/src/main/java/com/dispose/common/SecurityConfigValue.java +++ b/src/main/java/com/dispose/common/SecurityConfigValue.java @@ -6,6 +6,12 @@ package com.dispose.common; * @author */ public class SecurityConfigValue { + + /** + * Instantiates a new Security config value. + */ + private SecurityConfigValue() {} + /** * The constant AES_KEY. */ diff --git a/src/main/java/com/dispose/restful/RestfulInterface.java b/src/main/java/com/dispose/restful/RestfulInterface.java index b7cc6f39..e74f6168 100644 --- a/src/main/java/com/dispose/restful/RestfulInterface.java +++ b/src/main/java/com/dispose/restful/RestfulInterface.java @@ -22,12 +22,25 @@ import java.util.Map; */ @Slf4j public class RestfulInterface { + /** + * Instantiates a new Restful interface. + */ + private RestfulInterface () {} + + /** + * The constant timeOutValue. + */ private static int timeOutValue = 1000; /** * The constant OBJECT_MAPPER. */ private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper(); + /** + * Init env. + * + * @param timeout the timeout + */ public static void initEnv(int timeout) { RestfulInterface.timeOutValue = timeout; } diff --git a/src/main/java/com/dispose/security/arithmetic/CryptoHelper.java b/src/main/java/com/dispose/security/arithmetic/CryptoHelper.java index 02c5b55a..645122ba 100644 --- a/src/main/java/com/dispose/security/arithmetic/CryptoHelper.java +++ b/src/main/java/com/dispose/security/arithmetic/CryptoHelper.java @@ -23,6 +23,11 @@ import java.security.SecureRandom; @Slf4j public class CryptoHelper { + /** + * Instantiates a new Crypto helper. + */ + private CryptoHelper() {} + /** * The constant AES_ALGORITHM_STR. */