This is an automated email from the ASF dual-hosted git repository.
bschuchardt pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new 9291e53 GEODE-3838 roll project version to 1.4.0
9291e53 is described below
commit 9291e530d880834c99c4e62e793d32106496f5ff
Author: Bruce Schuchardt <[email protected]>
AuthorDate: Mon Oct 16 15:07:07 2017 -0700
GEODE-3838 roll project version to 1.4.0
updated version to 1.4.0
---
geode-core/src/main/java/org/apache/geode/internal/Version.java | 8 ++++++--
.../geode/internal/cache/tier/sockets/CommandInitializer.java | 5 +++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/geode-core/src/main/java/org/apache/geode/internal/Version.java
b/geode-core/src/main/java/org/apache/geode/internal/Version.java
index 1e63000..ec5ee03 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/Version.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/Version.java
@@ -59,7 +59,7 @@ public class Version implements Comparable<Version> {
/** byte used as ordinal to represent this <code>Version</code> */
private final short ordinal;
- public static final int HIGHEST_VERSION = 70;
+ public static final int HIGHEST_VERSION = 75;
private static final Version[] VALUES = new Version[HIGHEST_VERSION + 1];
@@ -203,11 +203,15 @@ public class Version implements Comparable<Version> {
public static final Version GEODE_130 =
new Version("GEODE", "1.3.0", (byte) 1, (byte) 3, (byte) 0, (byte) 0,
GEODE_130_ORDINAL);
+ private static final byte GEODE_140_ORDINAL = 75;
+
+ public static final Version GEODE_140 =
+ new Version("GEODE", "1.4.0", (byte) 1, (byte) 4, (byte) 0, (byte) 0,
GEODE_130_ORDINAL);
/**
* This constant must be set to the most current version of the product. !!!
NOTE: update
* HIGHEST_VERSION when changing CURRENT !!!
*/
- public static final Version CURRENT = GEODE_130;
+ public static final Version CURRENT = GEODE_140;
/**
* A lot of versioning code needs access to the current version's ordinal
diff --git
a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CommandInitializer.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CommandInitializer.java
index 3f2bcd2..f6fc147 100644
---
a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CommandInitializer.java
+++
b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CommandInitializer.java
@@ -350,6 +350,11 @@ public class CommandInitializer {
commands.putAll(ALL_COMMANDS.get(Version.GEODE_120));
ALL_COMMANDS.put(Version.GEODE_130, commands);
}
+ {
+ Map<Integer, Command> commands = new HashMap<Integer, Command>();
+ commands.putAll(ALL_COMMANDS.get(Version.GEODE_130));
+ ALL_COMMANDS.put(Version.GEODE_140, commands);
+ }
}
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].