diff options
author | 2020-03-09 14:53:43 +0100 | |
---|---|---|
committer | 2020-03-10 12:04:27 +0000 | |
commit | 2ceb5596c6491a1a6f3a2c187afeb89329abb078 (patch) | |
tree | 546d91d487b00d36dd2a3b8543cf7619d0513049 /certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/exception | |
parent | 7e38fd61c1c563a2b5d5cc5465a55fe468a6d4c3 (diff) |
Fix sonar issue.
Issue-ID: AAF-996
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: Iecac5c31b7c7177abe3ef7e598d8cec3262c8d34
Diffstat (limited to 'certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/exception')
2 files changed, 2 insertions, 2 deletions
diff --git a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/exception/CertServiceApiResponseException.java b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/exception/CertServiceApiResponseException.java index 40470af3..7286318f 100644 --- a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/exception/CertServiceApiResponseException.java +++ b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/exception/CertServiceApiResponseException.java @@ -24,7 +24,7 @@ import org.onap.aaf.certservice.client.api.ExitCode; import org.onap.aaf.certservice.client.api.ExitableException; public class CertServiceApiResponseException extends ExitableException { - private final ExitCode EXIT_CODE = ExitCode.CERT_SERVICE_API_CONNECTION_EXCEPTION; + private static final ExitCode EXIT_CODE = ExitCode.CERT_SERVICE_API_CONNECTION_EXCEPTION; public CertServiceApiResponseException(String url, int responseCode, String messageFromAPI) { diff --git a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/exception/HttpClientException.java b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/exception/HttpClientException.java index d6fb1461..28f83073 100644 --- a/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/exception/HttpClientException.java +++ b/certServiceClient/src/main/java/org/onap/aaf/certservice/client/httpclient/exception/HttpClientException.java @@ -24,7 +24,7 @@ import org.onap.aaf.certservice.client.api.ExitCode; import org.onap.aaf.certservice.client.api.ExitableException; public class HttpClientException extends ExitableException { - private final ExitCode EXIT_CODE = ExitCode.HTTP_CLIENT_EXCEPTION; + private static final ExitCode EXIT_CODE = ExitCode.HTTP_CLIENT_EXCEPTION; public HttpClientException(Throwable e) { super(e); |