Skip to content

Commit

Permalink
Add Version.1_1_0 (missing in master but already in 1.x).
Browse files Browse the repository at this point in the history
  • Loading branch information
jpountz committed Feb 5, 2014
1 parent 6777be6 commit 4e9fa5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/elasticsearch/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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:
Expand Down

0 comments on commit 4e9fa5c

Please sign in to comment.