summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsaac Manuel Raj <isaac.manuelraj@huawei.com>2019-04-12 11:53:14 +0530
committerIsaac Manuel Raj <isaac.manuelraj@huawei.com>2019-04-12 11:53:14 +0530
commitcf86d3697445eb22d4ec6773178297dfcd178c65 (patch)
treef00e88f7bca4d4134142242f3801e070888a99e0
parent2b49876216feb9f61f112d7e81e0754e3a894953 (diff)
Code Enhancement (Sonar Fixes)
Sonar Issues Fixes Issue-ID: SO-1490 Change-Id: I6d4aaa65a11c5c6bd04c688664ba5d4ecf1d3fe1 Signed-off-by: Isaac Manuel Raj <isaac.manuelraj@huawei.com>
-rw-r--r--openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSession.java108
-rw-r--r--openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSessionHolder.java17
2 files changed, 2 insertions, 123 deletions
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<OpenStackSession> HOLDER = new ThreadLocal<OpenStackSession>();
-//
-// 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