From e0066e40064a3de2a0b691baf24d4409992e11f6 Mon Sep 17 00:00:00 2001 From: "Sindhuri.A" Date: Wed, 17 Apr 2019 18:52:40 +0530 Subject: changed attribute names OpenStackClient.java changed attribute names for OpenStackClient class Issue-ID: SO-1490 Change-Id: I035e35f2fa50b08053979372b5440d49c48bac8e Signed-off-by: Sindhuri.A --- .../com/woorea/openstack/base/client/OpenStackClient.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'openstack-client/src/main/java') diff --git a/openstack-client/src/main/java/com/woorea/openstack/base/client/OpenStackClient.java b/openstack-client/src/main/java/com/woorea/openstack/base/client/OpenStackClient.java index 23ee8dc..a111975 100644 --- a/openstack-client/src/main/java/com/woorea/openstack/base/client/OpenStackClient.java +++ b/openstack-client/src/main/java/com/woorea/openstack/base/client/OpenStackClient.java @@ -29,38 +29,38 @@ public class OpenStackClient { protected OpenStackTokenProvider tokenProvider; - protected static int AUTHENTICATION_RETRIES = 1; + protected static int authenticationRetries = 1; protected OpenStackClientConnector connector; protected Properties properties = new Properties(); - protected static OpenStackClientConnector DEFAULT_CONNECTOR; + protected static OpenStackClientConnector defaultConnector; static { ServiceLoader connectorLoader; connectorLoader = ServiceLoader.load(OpenStackClientConnector.class); for (OpenStackClientConnector clientConnector : connectorLoader) { - DEFAULT_CONNECTOR = clientConnector; + defaultConnector = clientConnector; break; } } public OpenStackClient(String endpoint) { this.endpoint = endpoint; - this.connector = DEFAULT_CONNECTOR; + this.connector = defaultConnector; } public OpenStackClient(String endpoint, OpenStackClientConnector connector) { this.endpoint = endpoint; - this.connector = (connector == null) ? DEFAULT_CONNECTOR : connector; + this.connector = (connector == null) ? defaultConnector : connector; } public OpenStackResponse request(OpenStackRequest request) { OpenStackResponseException authException = null; - for (int i = 0; i <= AUTHENTICATION_RETRIES; i++) { + for (int i = 0; i <= authenticationRetries; i++) { request.endpoint(endpoint); if (tokenProvider != null) { -- cgit 1.2.3-korg