Fix simple Sonar Lint issues
[aai/search-data-service.git] / src / main / java / org / onap / aai / sa / Application.java
index cd253c6..620dbee 100644 (file)
@@ -29,15 +29,13 @@ import org.springframework.boot.web.support.SpringBootServletInitializer;
 @SpringBootApplication\r
 public class Application extends SpringBootServletInitializer {\r
 \r
-\r
     public static void main(String[] args) {\r
-\r
         String keyStorePassword = System.getProperty("KEY_STORE_PASSWORD");\r
-        if(keyStorePassword==null || keyStorePassword.isEmpty()){\r
+        if (keyStorePassword == null || keyStorePassword.isEmpty()) {\r
             throw new RuntimeException("Env property KEY_STORE_PASSWORD not set");\r
         }\r
         HashMap<String, Object> props = new HashMap<>();\r
         props.put("server.ssl.key-store-password", Password.deobfuscate(keyStorePassword));\r
-        new Application().configure(new SpringApplicationBuilder (Application.class).properties(props)).run(args);\r
+        new Application().configure(new SpringApplicationBuilder(Application.class).properties(props)).run(args);\r
     }\r
 }\r