Code Enhancement (Sonar Fixes) 55/85155/1
authorIsaac Manuel Raj <isaac.manuelraj@huawei.com>
Fri, 12 Apr 2019 06:23:14 +0000 (11:53 +0530)
committerIsaac Manuel Raj <isaac.manuelraj@huawei.com>
Fri, 12 Apr 2019 06:23:14 +0000 (11:53 +0530)
Sonar Issues Fixes

Issue-ID: SO-1490

Change-Id: I6d4aaa65a11c5c6bd04c688664ba5d4ecf1d3fe1
Signed-off-by: Isaac Manuel Raj <isaac.manuelraj@huawei.com>
openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSession.java
openstack-client/src/main/java/com/woorea/openstack/common/session/OpenStackSessionHolder.java

index e149b95..618adb5 100644 (file)
  * ============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
index ec199e9..618adb5 100644 (file)
  * ============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