Fixed sonar issue in ProviderAdapterImpl 90/75190/5
authorezhil <ezhrajam@in.ibm.com>
Wed, 2 Jan 2019 16:05:26 +0000 (21:35 +0530)
committerPatrick Brady <patrick.brady@att.com>
Fri, 11 Jan 2019 21:50:13 +0000 (21:50 +0000)
Change-Id: I0a2e6f4ad94ad3c172ca15b0111892d38b188a55
Issue-ID: APPC-1299
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/impl/ProviderAdapterImpl.java

index 0d7f053..cd14ffa 100644 (file)
@@ -6,6 +6,8 @@
  * ================================================================================
  * Copyright (C) 2017 Amdocs
  * =============================================================================
+ * Modifications Copyright (C) 2019 IBM.
+ * =============================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -58,10 +60,6 @@ public class ProviderAdapterImpl implements ProviderAdapter {
      * The default domain name for authentication
      */
     public static final String DEFAULT_DOMAIN_NAME = "Default";
-    /**
-     * The logger to be used
-     */
-    private static final EELFLogger logger = EELFManager.getInstance().getLogger(ProviderAdapterImpl.class);
     /**
      * A reference to the adapter configuration object.
      */
@@ -315,7 +313,6 @@ public class ProviderAdapterImpl implements ProviderAdapter {
     }
     @Override
     public Server attachVolume(Map<String, String> params, SvcLogicContext ctx) throws APPCException {
-        // TODO Auto-generated method stub
           IProviderOperation op = factory.getOperationObject(Operation.ATTACHVOLUME_SERVICE);
             op.setProviderCache(this.providerCache);
             op.setDefaultPassword(DEFAULT_PASS);