Skip to content

Commit

Permalink
release 0.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed Dec 7, 2012
1 parent a40137d commit 9c0ae8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>0.20.0.RC2-SNAPSHOT</version>
<version>0.20.0</version>
<packaging>jar</packaging>
<description>ElasticSearch - Open Source, Distributed, RESTful Search Engine</description>
<inceptionYear>2009</inceptionYear>
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/org/elasticsearch/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,19 +95,19 @@ public class Version implements Serializable {
public static final int V_0_20_0_RC1_ID = /*00*/200051;
public static final Version V_0_20_0_RC1 = new Version(V_0_20_0_RC1_ID, false);

public static final int V_0_20_0_RC2_ID = /*00*/200052;
public static final Version V_0_20_0_RC2 = new Version(V_0_20_0_RC2_ID, true);
public static final int V_0_20_0_ID = /*00*/200099;
public static final Version V_0_20_0 = new Version(V_0_20_0_ID, false);

public static final Version CURRENT = V_0_20_0_RC2;
public static final Version CURRENT = V_0_20_0;

public static Version readVersion(StreamInput in) throws IOException {
return fromId(in.readVInt());
}

public static Version fromId(int id) {
switch (id) {
case V_0_20_0_RC2_ID:
return V_0_20_0_RC2;
case V_0_20_0_ID:
return V_0_20_0;
case V_0_20_0_RC1_ID:
return V_0_20_0_RC1;

Expand Down

0 comments on commit 9c0ae8b

Please sign in to comment.