Bumped Version References One Version Up (v0.3-beta) #64
File diff suppressed because one or more lines are too long
@ -36,7 +36,7 @@ public final class Startup extends Application {
|
|||||||
*
|
*
|
||||||
* @since Envoy Client v0.1-beta
|
* @since Envoy Client v0.1-beta
|
||||||
*/
|
*/
|
||||||
public static final String VERSION = "0.1-beta";
|
public static final String VERSION = "0.2-beta";
|
||||||
|
|
||||||
private static LocalDB localDB;
|
private static LocalDB localDB;
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -5,7 +5,7 @@ import java.util.regex.Pattern;
|
|||||||
/**
|
/**
|
||||||
* Implements a comparison algorithm between Envoy versions and defines minimal
|
* Implements a comparison algorithm between Envoy versions and defines minimal
|
||||||
* and maximal client versions compatible with this server.
|
* and maximal client versions compatible with this server.
|
||||||
*
|
*
|
||||||
* @author Kai S. K. Engelbart
|
* @author Kai S. K. Engelbart
|
||||||
* @since Envoy Server Standalone v0.1-beta
|
* @since Envoy Server Standalone v0.1-beta
|
||||||
*/
|
*/
|
||||||
@ -13,17 +13,17 @@ public final class VersionUtil {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The minimal client version compatible with this server.
|
* The minimal client version compatible with this server.
|
||||||
*
|
*
|
||||||
* @since Envoy Server Standalone v0.1-beta
|
* @since Envoy Server Standalone v0.1-beta
|
||||||
*/
|
*/
|
||||||
public static final String MIN_CLIENT_VERSION = "0.1-beta";
|
public static final String MIN_CLIENT_VERSION = "0.1-beta";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The maximal client version compatible with this server.
|
* The maximal client version compatible with this server.
|
||||||
*
|
*
|
||||||
* @since Envoy Server Standalone v0.1-beta
|
* @since Envoy Server Standalone v0.1-beta
|
||||||
*/
|
*/
|
||||||
public static final String MAX_CLIENT_VERSION = "0.1-beta";
|
public static final String MAX_CLIENT_VERSION = "0.2-beta";
|
||||||
|
|
||||||
private static final Pattern versionPattern = Pattern.compile("(?<major>\\d).(?<minor>\\d)(?:-(?<suffix>\\w+))?");
|
private static final Pattern versionPattern = Pattern.compile("(?<major>\\d).(?<minor>\\d)(?:-(?<suffix>\\w+))?");
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ public final class VersionUtil {
|
|||||||
/**
|
/**
|
||||||
* Parses an Envoy Client version string and checks whether that version is
|
* Parses an Envoy Client version string and checks whether that version is
|
||||||
* compatible with this server.
|
* compatible with this server.
|
||||||
*
|
*
|
||||||
* @param version the version string to parse
|
* @param version the version string to parse
|
||||||
* @return {@code true} if the given version is compatible with this server
|
* @return {@code true} if the given version is compatible with this server
|
||||||
* @since Envoy Server Standalone v0.1-beta
|
* @since Envoy Server Standalone v0.1-beta
|
||||||
|
Reference in New Issue
Block a user