From 17dcfc9e7b28e36539420a5c75da2f1f518edcf2 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Thu, 9 May 2019 16:48:24 +0400 Subject: [PATCH] Added Serializable to Node and bumped version --- build.gradle | 2 +- src/main/java/io/github/chronosx88/JGUN/Node.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 3deae3f..cae8f52 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'io.github.chronosx88' -version '0.2.0' +version '0.2.1' sourceCompatibility = 1.8 diff --git a/src/main/java/io/github/chronosx88/JGUN/Node.java b/src/main/java/io/github/chronosx88/JGUN/Node.java index 46b1634..0a4cf27 100644 --- a/src/main/java/io/github/chronosx88/JGUN/Node.java +++ b/src/main/java/io/github/chronosx88/JGUN/Node.java @@ -3,7 +3,9 @@ package io.github.chronosx88.JGUN; import io.github.chronosx88.JGUN.storageBackends.InMemoryGraph; import org.json.JSONObject; -public class Node implements Comparable { +import java.io.Serializable; + +public class Node implements Comparable, Serializable { public JSONObject values; // Data public JSONObject states; // Metadata for diff public String soul; // i.e. ID of node