Fixing the formatting
[aai/gizmo.git] / src / main / java / org / openecomp / crud / entity / Edge.java
index ceae494..4d2de24 100644 (file)
@@ -34,18 +34,16 @@ import java.util.Map;
 import java.util.Optional;
 
 public class Edge {
-  private static final Gson gson = new GsonBuilder()
-      .registerTypeAdapterFactory(new GsonJava8TypeAdapterFactory())
+  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 final Vertex source;
   private final Vertex target;
 
-
   private Edge(Builder builder) {
     this.id = builder.id;
     this.type = builder.type;
@@ -101,11 +99,10 @@ public class Edge {
     }
   }
 
-
   @Override
   public String toString() {
-    return "Edge [id=" + id + ", type=" + type + ", properties=" + properties
-        + ", source=" + source + ", target=" + target + "]";
+    return "Edge [id=" + id + ", type=" + type + ", properties=" + properties + ", source=" + source + ", target="
+        + target + "]";
   }
 
   public String toJson() {
@@ -140,5 +137,4 @@ public class Edge {
     return target;
   }
 
-
 }