From cf86d3697445eb22d4ec6773178297dfcd178c65 Mon Sep 17 00:00:00 2001 From: Isaac Manuel Raj Date: Fri, 12 Apr 2019 11:53:14 +0530 Subject: Code Enhancement (Sonar Fixes) Sonar Issues Fixes Issue-ID: SO-1490 Change-Id: I6d4aaa65a11c5c6bd04c688664ba5d4ecf1d3fe1 Signed-off-by: Isaac Manuel Raj --- .../openstack/common/session/OpenStackSession.java | 108 +-------------------- .../common/session/OpenStackSessionHolder.java | 17 +--- 2 files changed, 2 insertions(+), 123 deletions(-) (limited to 'openstack-client/src/main/java') diff --git a/openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSession.java b/openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSession.java index e149b95..618adb5 100644 --- a/openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSession.java +++ b/openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSession.java @@ -14,110 +14,4 @@ * ============LICENSE_END========================================================= */ -package com.woorea.openstack.common.session; -//package org.openstack.common.session; -// -//import java.io.Serializable; -// -//import org.openstack.keystone.model.Access; -//import org.openstack.keystone.model.Authentication; -// -//public class OpenStackSession implements Serializable { -// -// private String authenticationURL; -// -// private Authentication authentication; -// -// private String identityAdministrationURL; -// -// private String identityAdministrationToken; -// -// private Access access; -// -// private boolean admin; -// -// /** -// * @return the authenticationURL -// */ -// public String getAuthenticationURL() { -// return authenticationURL; -// } -// -// /** -// * @param authenticationURL the authenticationURL to set -// */ -// public void setAuthenticationURL(String authenticationURL) { -// this.authenticationURL = authenticationURL; -// } -// -// /** -// * @return the authentication -// */ -// public Authentication getAuthentication() { -// return authentication; -// } -// -// /** -// * @param authentication the authentication to set -// */ -// public void setAuthentication(Authentication authentication) { -// this.authentication = authentication; -// } -// -// /** -// * @return the identityAdministrationURL -// */ -// public String getIdentityAdministrationURL() { -// return identityAdministrationURL; -// } -// -// /** -// * @param identityAdministrationURL the identityAdministrationURL to set -// */ -// public void setIdentityAdministrationURL(String identityAdministrationURL) { -// this.identityAdministrationURL = identityAdministrationURL; -// } -// -// /** -// * @return the identityAdministrationToken -// */ -// public String getIdentityAdministrationToken() { -// return identityAdministrationToken; -// } -// -// /** -// * @param identityAdministrationToken the identityAdministrationToken to set -// */ -// public void setIdentityAdministrationToken(String identityAdministrationToken) { -// this.identityAdministrationToken = identityAdministrationToken; -// } -// -// /** -// * @return the access -// */ -// public Access getAccess() { -// return access; -// } -// -// /** -// * @param access the access to set -// */ -// public void setAccess(Access access) { -// this.access = access; -// } -// -// /** -// * @return the admin -// */ -// public boolean isAdmin() { -// return admin; -// } -// -// /** -// * @param admin the admin to set -// */ -// public void setAdmin(boolean admin) { -// this.admin = admin; -// } -// -//} +package com.woorea.openstack.common.session; \ No newline at end of file diff --git a/openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSessionHolder.java b/openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSessionHolder.java index ec199e9..618adb5 100644 --- a/openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSessionHolder.java +++ b/openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSessionHolder.java @@ -14,19 +14,4 @@ * ============LICENSE_END========================================================= */ -package com.woorea.openstack.common.session; -//package org.openstack.common.session; -// -//public class OpenStackSessionHolder { -// -// private static final ThreadLocal HOLDER = new ThreadLocal(); -// -// public static OpenStackSession getSession() { -// return HOLDER.get(); -// } -// -// public static void setSession(OpenStackSession session) { -// HOLDER.set(session); -// } -// -//} +package com.woorea.openstack.common.session; \ No newline at end of file -- cgit 1.2.3-korg