From 5766c64f948d9f323fe2d65ef811c9b76577de72 Mon Sep 17 00:00:00 2001 From: uboness Date: Fri, 19 Jun 2015 15:51:22 +0200 Subject: [PATCH] added support for 1.0.0-rc1 in WatcherVersion Original commit: elastic/x-pack-elasticsearch@02c018c0b99f164651521563b0887eed8c3d6c31 --- src/main/java/org/elasticsearch/watcher/WatcherVersion.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/elasticsearch/watcher/WatcherVersion.java b/src/main/java/org/elasticsearch/watcher/WatcherVersion.java index 4ead3d33d83..07c6ef4d667 100644 --- a/src/main/java/org/elasticsearch/watcher/WatcherVersion.java +++ b/src/main/java/org/elasticsearch/watcher/WatcherVersion.java @@ -28,6 +28,8 @@ public class WatcherVersion implements Serializable { public static final WatcherVersion V_1_0_0_Beta1 = new WatcherVersion(V_1_0_0_Beta1_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0); public static final int V_1_0_0_Beta2_ID = /*00*/1000002; public static final WatcherVersion V_1_0_0_Beta2 = new WatcherVersion(V_1_0_0_Beta2_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0); + public static final int V_1_0_0_RC1_ID = /*00*/1000051; + public static final WatcherVersion V_1_0_0_RC1 = new WatcherVersion(V_1_0_0_RC1_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0); public static final int V_2_0_0_Beta1_ID = /*00*/200001; public static final WatcherVersion V_2_0_0_Beta1 = new WatcherVersion(V_2_0_0_Beta1_ID, true, Version.V_1_5_0, LicenseVersion.V_2_0_0); @@ -43,6 +45,8 @@ public class WatcherVersion implements Serializable { return V_1_0_0_Beta1; case V_1_0_0_Beta2_ID: return V_1_0_0_Beta2; + case V_1_0_0_RC1_ID: + return V_1_0_0_RC1; case V_2_0_0_Beta1_ID: return V_2_0_0_Beta1; default: