AAI-1523 Batch reformat aai-core
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / serialization / queryformats / Console.java
index d42f33f..ba20c65 100644 (file)
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
+
 package org.onap.aai.serialization.queryformats;
 
 import com.google.gson.JsonObject;
-import org.onap.aai.serialization.queryformats.exceptions.AAIFormatVertexException;
 
 import java.util.Optional;
 
+import org.onap.aai.serialization.queryformats.exceptions.AAIFormatVertexException;
+
 public class Console implements FormatMapper {
 
-       @Override
-       public Optional<JsonObject> formatObject(Object v) throws AAIFormatVertexException {
-               
-               JsonObject json = new JsonObject();
-               json.addProperty("result", v.toString());
-               
-               return Optional.of(json);
-       }
-
-       @Override
-       public int parallelThreshold() {
-               return 100;
-       }
+    @Override
+    public Optional<JsonObject> formatObject(Object v) throws AAIFormatVertexException {
+
+        JsonObject json = new JsonObject();
+        json.addProperty("result", v.toString());
+
+        return Optional.of(json);
+    }
+
+    @Override
+    public int parallelThreshold() {
+        return 100;
+    }
 
 }