AAI-1523 Batch reformat aai-core
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / serialization / db / GetAllPool.java
index 599906b..0881543 100644 (file)
@@ -17,6 +17,7 @@
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
+
 package org.onap.aai.serialization.db;
 
 import java.util.concurrent.ExecutorService;
@@ -24,22 +25,22 @@ import java.util.concurrent.Executors;
 
 public class GetAllPool {
 
-       private ExecutorService pool;
-       
-       private GetAllPool() {
-               pool = Executors.newWorkStealingPool(Runtime.getRuntime().availableProcessors());
-       }
-       
-       private static class Helper {
-               private static final GetAllPool INSTANCE = new GetAllPool();
-       }
-
-       public static GetAllPool getInstance() {
-               return Helper.INSTANCE;
-       }
-       
-       public ExecutorService getPool() {
-               
-               return this.pool;
-       }
+    private ExecutorService pool;
+
+    private GetAllPool() {
+        pool = Executors.newWorkStealingPool(Runtime.getRuntime().availableProcessors());
+    }
+
+    private static class Helper {
+        private static final GetAllPool INSTANCE = new GetAllPool();
+    }
+
+    public static GetAllPool getInstance() {
+        return Helper.INSTANCE;
+    }
+
+    public ExecutorService getPool() {
+
+        return this.pool;
+    }
 }