aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-07-23 07:07:02 -0700
committerScott Jackson <daneren2005@gmail.com>2014-07-23 07:07:02 -0700
commitcef8715b3b06e508f80c573b1d312b8e6118960b (patch)
tree8818ddb6a7d0801d2dbc2b157651c69a2c95839a
parentf1981d2a747fb5fd97c1da29d49dab5471fb64a4 (diff)
downloaddsub-cef8715b3b06e508f80c573b1d312b8e6118960b.tar.gz
dsub-cef8715b3b06e508f80c573b1d312b8e6118960b.tar.bz2
dsub-cef8715b3b06e508f80c573b1d312b8e6118960b.zip
Add no-arg constructor for Kryo
-rw-r--r--src/github/daneren2005/dsub/domain/Version.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/domain/Version.java b/src/github/daneren2005/dsub/domain/Version.java
index 75221cd5..f3566644 100644
--- a/src/github/daneren2005/dsub/domain/Version.java
+++ b/src/github/daneren2005/dsub/domain/Version.java
@@ -32,6 +32,10 @@ public class Version implements Comparable<Version>, Serializable {
private int beta;
private int bugfix;
+ public Version() {
+ // For Kryo
+ }
+
/**
* Creates a new version instance by parsing the given string.
* @param version A string of the format "1.27", "1.27.2" or "1.27.beta3".