From 4e9fa5c9f420fa314a0ebe21e35ceeeb16e9fdc5 Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Wed, 5 Feb 2014 11:47:07 +0100 Subject: [PATCH] Add Version.1_1_0 (missing in master but already in 1.x). --- src/main/java/org/elasticsearch/Version.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/elasticsearch/Version.java b/src/main/java/org/elasticsearch/Version.java index 3f6f7e1850b2a..5db058fcab813 100644 --- a/src/main/java/org/elasticsearch/Version.java +++ b/src/main/java/org/elasticsearch/Version.java @@ -155,6 +155,8 @@ public class Version implements Serializable { public static final Version V_1_0_0_RC2 = new Version(V_1_0_0_RC2_ID, false, org.apache.lucene.util.Version.LUCENE_46); public static final int V_1_0_0_ID = /*00*/1000099; public static final Version V_1_0_0 = new Version(V_1_0_0_ID, false, org.apache.lucene.util.Version.LUCENE_46); + public static final int V_1_1_0_ID = /*00*/1010099; + public static final Version V_1_1_0 = new Version(V_1_1_0_ID, true, org.apache.lucene.util.Version.LUCENE_46); public static final int V_2_0_0_ID = /*00*/2000099; public static final Version V_2_0_0 = new Version(V_2_0_0_ID, true, org.apache.lucene.util.Version.LUCENE_46); @@ -172,6 +174,8 @@ public static Version fromId(int id) { switch (id) { case V_2_0_0_ID: return V_2_0_0; + case V_1_1_0_ID: + return V_1_1_0; case V_1_0_0_ID: return V_1_0_0; case V_1_0_0_RC2_ID: