Fix simple Sonar Lint issues
[aai/search-data-service.git] / src / main / java / org / onap / aai / sa / searchdbabstraction / RestEchoService.java
index 1cbebc9..96929c7 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
-package org.onap.aai.sa.searchdbabstraction;
-
 
+package org.onap.aai.sa.searchdbabstraction;
 
 import org.springframework.web.bind.annotation.PathVariable;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RestController;
 
-
 /**
  * Exposes REST endpoints for a simple echo service.
  */
@@ -35,15 +33,15 @@ import org.springframework.web.bind.annotation.RestController;
 @RequestMapping("/services/search-data-service/v1")
 public class RestEchoService {
 
-  /**
-   * REST endpoint for a simple echo service.
-   *
-   * @param input - The value to be echoed back.
-   * @return - The input value.
-   */
-  @RequestMapping(value = "/echo/{input}", method = {RequestMethod.GET})
-  public String ping(@PathVariable("input") String input) {
-    return "[Search Database Abstraction Micro Service] - Echo Service: " + input + ".";
-  }
+    /**
+     * REST endpoint for a simple echo service.
+     *
+     * @param input - The value to be echoed back.
+     * @return - The input value.
+     */
+    @RequestMapping(value = "/echo/{input}", method = {RequestMethod.GET})
+    public String ping(@PathVariable("input") String input) {
+        return "[Search Database Abstraction Micro Service] - Echo Service: " + input + ".";
+    }
 
 }