diff options
author | 2017-11-16 15:19:58 -0500 | |
---|---|---|
committer | 2017-11-16 15:21:11 -0500 | |
commit | 2dd042556f9142fcd525c0277ea21ac3bd828e4f (patch) | |
tree | d1c5a3825ef509270c95ec954fa629743e9c7047 /src/main/java/org/openecomp/crud/entity/Vertex.java | |
parent | be2eab9395a787ca4b13447f9d2c382d12f5dcd5 (diff) |
Fixing the formatting
Fixing the formatting
IssueID: AAI-481
Change-Id: I45c53cd24913707716f2dd34f9fc282786ce03b6
Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
Diffstat (limited to 'src/main/java/org/openecomp/crud/entity/Vertex.java')
-rw-r--r-- | src/main/java/org/openecomp/crud/entity/Vertex.java | 7 |
1 files changed, 3 insertions, 4 deletions
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<String> id; private final String type; private final Map<String, Object> properties; - private Vertex(Builder builder) { this.id = builder.id; this.type = builder.type; |