Replaced all tabs with spaces in java and pom.xml
[so.git] / mso-catalog-db / src / test / java / org / onap / so / db / catalog / TestApplication.java
index 64b3936..2d786fe 100644 (file)
@@ -26,23 +26,23 @@ import org.springframework.boot.autoconfigure.domain.EntityScan;
 import org.springframework.context.annotation.Profile;
 import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
 
-@SpringBootApplication(scanBasePackages = { "org.onap.so.db.catalog","org.onap.so.client", "org.onap.so.configuration"})
+@SpringBootApplication(scanBasePackages = {"org.onap.so.db.catalog", "org.onap.so.client", "org.onap.so.configuration"})
 @EnableJpaRepositories("org.onap.so.db.catalog.data.repository")
 @EntityScan("org.onap.so.db.catalog")
 @Profile("test")
 public class TestApplication {
-       private static final String LOGS_DIR = "logs_dir";
-       
-       private static void setLogsDir() {
-               if (System.getProperty(LOGS_DIR) == null) {
-                       System.getProperties().setProperty(LOGS_DIR, "./logs/catdb/");
-               }
-       }
-       
-       public static void main(String... args) {
-               SpringApplication.run(TestApplication.class, args);
-               System.getProperties().setProperty("mso.db", "MARIADB");
-               System.getProperties().setProperty("server.name", "Springboot");
+    private static final String LOGS_DIR = "logs_dir";
+
+    private static void setLogsDir() {
+        if (System.getProperty(LOGS_DIR) == null) {
+            System.getProperties().setProperty(LOGS_DIR, "./logs/catdb/");
+        }
+    }
+
+    public static void main(String... args) {
+        SpringApplication.run(TestApplication.class, args);
+        System.getProperties().setProperty("mso.db", "MARIADB");
+        System.getProperties().setProperty("server.name", "Springboot");
         setLogsDir();
-       }
+    }
 }