From 2dd042556f9142fcd525c0277ea21ac3bd828e4f Mon Sep 17 00:00:00 2001 From: "Bansal, Nitin (nb121v)" Date: Thu, 16 Nov 2017 15:19:58 -0500 Subject: Fixing the formatting Fixing the formatting IssueID: AAI-481 Change-Id: I45c53cd24913707716f2dd34f9fc282786ce03b6 Signed-off-by: Bansal, Nitin (nb121v) --- src/main/java/org/openecomp/crud/entity/Vertex.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/main/java/org/openecomp/crud/entity/Vertex.java') diff --git a/src/main/java/org/openecomp/crud/entity/Vertex.java b/src/main/java/org/openecomp/crud/entity/Vertex.java index d2f2b08..12c274f 100644 --- a/src/main/java/org/openecomp/crud/entity/Vertex.java +++ b/src/main/java/org/openecomp/crud/entity/Vertex.java @@ -34,16 +34,15 @@ import java.util.Map; import java.util.Optional; public class Vertex { - private static final Gson gson = new GsonBuilder() - .registerTypeAdapterFactory(new GsonJava8TypeAdapterFactory()).create(); + private static final Gson gson = new GsonBuilder().registerTypeAdapterFactory(new GsonJava8TypeAdapterFactory()) + .create(); - @SerializedName(value="id", alternate={"key"}) + @SerializedName(value = "id", alternate = { "key" }) private final Optional id; private final String type; private final Map properties; - private Vertex(Builder builder) { this.id = builder.id; this.type = builder.type; -- cgit 1.2.3-korg