Skip to content

Commit

Permalink
Added Serializable to Node and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronosXYZ committed May 9, 2019
1 parent 027da48 commit 17dcfc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group 'io.github.chronosx88'
version '0.2.0'
version '0.2.1'

sourceCompatibility = 1.8

Expand Down
4 changes: 3 additions & 1 deletion src/main/java/io/github/chronosx88/JGUN/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
import io.github.chronosx88.JGUN.storageBackends.InMemoryGraph;
import org.json.JSONObject;

public class Node implements Comparable<Node> {
import java.io.Serializable;

public class Node implements Comparable<Node>, Serializable {
public JSONObject values; // Data
public JSONObject states; // Metadata for diff
public String soul; // i.e. ID of node
Expand Down

0 comments on commit 17dcfc9

Please sign in to comment.