m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMagdalena Grodzińska <mag.grodzinska@gmail.com>2019-11-21 10:33:46 +0100
committerMagdalena Grodzińska <mag.grodzinska@gmail.com>2019-11-21 10:33:46 +0100
commitad1434856c34abdb71b0d02f5cb43a19f52abc48 (patch)
tree69aa11ae839d2e532c699f9978b9570751f1d4cf /src/main
parent75208adcf60b4b3a48b96be70ff9352683a37075 (diff)
Fix ZMI serialization
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/model/ZMI.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/model/ZMI.java b/src/main/java/pl/edu/mimuw/cloudatlas/model/ZMI.java
index a311c61..7f2f604 100644
--- a/src/main/java/pl/edu/mimuw/cloudatlas/model/ZMI.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/model/ZMI.java
@@ -27,6 +27,7 @@ package pl.edu.mimuw.cloudatlas.model;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@@ -40,7 +41,7 @@ import com.esotericsoftware.kryo.io.Output;
* A zone management information object. This object is a single node in a zone hierarchy. It stores zone attributes as well as
* references to its father and sons in the tree.
*/
-public class ZMI implements Cloneable {
+public class ZMI implements Cloneable, Serializable {
public class NoSuchZoneException extends Exception {
public NoSuchZoneException(PathName path) {
super("No such zone: " + path);