Reformat sdnr data-provider to ONAP code style
[ccsdk/features.git] / sdnr / wt / data-provider / setup / src / main / java / org / onap / ccsdk / features / sdnr / wt / dataprovider / setup / data / SearchHitConverter.java
index 7a549ca..a95a405 100644 (file)
@@ -28,37 +28,38 @@ import org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.guilin.GuilinReleaseIn
 
 public interface SearchHitConverter {
 
-       /**
-        * convert single entry of database
-        * @param source
-        * @return
-        */
-       public SearchHit convert(SearchHit source);
-       
-       /**
-        * @param component destination component
-        * @param container source data
-        * @return data for destination component
-        */
-       public ComponentData convert(DataContainer container);
+    /**
+     * convert single entry of database
+     * 
+     * @param source
+     * @return
+     */
+    public SearchHit convert(SearchHit source);
+
+    /**
+     * @param component destination component
+     * @param container source data
+     * @return data for destination component
+     */
+    public ComponentData convert(DataContainer container);
+
+
+    public static class Factory {
+        public static SearchHitConverter getInstance(Release src, Release dst, ComponentName component) {
+            switch (src) {
+                case EL_ALTO:
+                    return new ElAltoReleaseInformation().getConverter(dst, component);
+                case FRANKFURT_R1:
+                    return new FrankfurtReleaseInformation().getConverter(dst, component);
+                case GUILIN:
+                    return new GuilinReleaseInformation().getConverter(dst, component);
+                default:
+                    return null;
+
+            }
+        }
+    }
 
-       
-       public static class Factory{
-               public static SearchHitConverter getInstance(Release src,Release dst, ComponentName component) {
-                       switch(src) {
-                       case EL_ALTO:
-                               return new ElAltoReleaseInformation().getConverter(dst, component);
-                       case FRANKFURT_R1:
-                               return new FrankfurtReleaseInformation().getConverter(dst, component);
-                       case GUILIN:
-                               return new GuilinReleaseInformation().getConverter(dst, component);
-                       default:
-                               return null;
-                       
-                       }
-               }
-       }
 
 
-       
 }