diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-07-23 07:07:02 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-07-23 07:07:02 -0700 |
commit | cef8715b3b06e508f80c573b1d312b8e6118960b (patch) | |
tree | 8818ddb6a7d0801d2dbc2b157651c69a2c95839a | |
parent | f1981d2a747fb5fd97c1da29d49dab5471fb64a4 (diff) | |
download | dsub-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.java | 4 |
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". |