From 70bf0a301b4131e63b698cccf44910cbf4570c1f Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Wed, 1 Feb 2012 11:52:57 +0200 Subject: [PATCH] have version implement serializable to DiscoveryNode can be serialized --- src/main/java/org/elasticsearch/Version.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/Version.java b/src/main/java/org/elasticsearch/Version.java index 1672a4b8ce4..2a8d7d8bdab 100644 --- a/src/main/java/org/elasticsearch/Version.java +++ b/src/main/java/org/elasticsearch/Version.java @@ -25,10 +25,11 @@ import org.elasticsearch.common.io.stream.StreamOutput; import org.elasticsearch.monitor.jvm.JvmInfo; import java.io.IOException; +import java.io.Serializable; /** */ -public class Version { +public class Version implements Serializable { // The logic for ID is: XXYYZZAA, where XX is major version, YY is minor version, ZZ is revision, and AA is Beta/RC indicator // AA values below 50 are beta builds, and below 99 are RC builds, with 99 indicating a release