Sonar Fixes, Formatting
[aaf/authz.git] / cadi / aaf / src / main / java / org / onap / aaf / cadi / aaf / v2_0 / AAFSingleLocator.java
index 8f4fff6..314d5c1 100644 (file)
@@ -7,9 +7,9 @@
  * 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
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -28,15 +28,15 @@ import org.onap.aaf.cadi.Locator;
 import org.onap.aaf.cadi.LocatorException;
 
 /**
- * This Locator good for using Inside Docker or K8s, where there is no real lookup, 
- * and there is conflict between external and internal host names, due to 
+ * This Locator good for using Inside Docker or K8s, where there is no real lookup,
+ * and there is conflict between external and internal host names, due to
  * Service abstraction.
- * 
+ *
  * @author Instrumental(Jonathan)
  *
  */
 public class AAFSingleLocator implements Locator<URI> {
-    
+
     private final URI uri;
 
     /**
@@ -44,12 +44,12 @@ public class AAFSingleLocator implements Locator<URI> {
      * @param cont_ns
      * @param prefix
      * @param version
-     * @throws URISyntaxException 
+     * @throws URISyntaxException
      */
     public AAFSingleLocator(final String uri) throws URISyntaxException {
         this.uri = new URI(uri);
     }
-    
+
     @Override
     public URI get(Item item) throws LocatorException {
         return uri;
@@ -87,10 +87,10 @@ public class AAFSingleLocator implements Locator<URI> {
     @Override
     public void destroy() {
     }
-    
+
     private class SingleItem implements Item {
     }
-    
+
     public static AAFSingleLocator create(Access access, String url) throws URISyntaxException {
         return new AAFSingleLocator(url);
     }