AAI-1523 Batch reformat aai-core
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / util / AAISystemExitUtil.java
index 1d27578..ff5ee63 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
+
 package org.onap.aai.util;
 
 import org.onap.aai.dbmap.AAIGraph;
 
 public class AAISystemExitUtil {
 
-       public static void systemExitCloseAAIGraph(int code) {
-               if ("true".equals(System.getProperty("org.onap.aai.graphadmin.started"))) {
-               return;
-               }
-               if (AAIGraph.isInit()) {
-                       AAIGraph.getInstance().graphShutdown();
-               }
-               System.exit(code);
+    public static void systemExitCloseAAIGraph(int code) {
+        if ("true".equals(System.getProperty("org.onap.aai.graphadmin.started"))) {
+            return;
+        }
+        if (AAIGraph.isInit()) {
+            AAIGraph.getInstance().graphShutdown();
+        }
+        System.exit(code);
 
-       }
+    }
 }