Add another CoreVersion field specifically for StatisticsManager (ticket #2729)

This commit is contained in:
zzz
2020-05-08 12:21:26 +00:00
parent d49741c2db
commit eeecede382
2 changed files with 26 additions and 31 deletions

View File

@ -10,7 +10,9 @@ package net.i2p;
*/
/**
* Expose a version string
* Expose a version string.
*
* See also: RouterVersion, VersionComparator, and the update subsystem.
*
*/
public class CoreVersion {
@ -18,7 +20,28 @@ public class CoreVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = "0.9.45";
/**
* The version published in the netdb via StatisticsManager.
* If we ever need a point release for a specific
* architecture only, append ".1" to VERSION
* and leave PUBLISHED_VERSION unchanged.
* Otherwise, the same as VERSION.
* RouterVersion.FULL_VERSION is suggested for display to the user.
*
* @since 0.9.46
*/
public final static String PUBLISHED_VERSION = "0.9.45";
/**
* The version used when checking for router updates,
* and exchanged between router and client over I2CP.
* If we ever need a point release for a specific
* architecture only, append ".1" to VERSION
* and leave PUBLISHED_VERSION unchanged.
* Otherwise, the same as PUBLISHED_VERSION.
* RouterVersion.FULL_VERSION is suggested for display to the user.
*/
public final static String VERSION = PUBLISHED_VERSION;
/**
* For Vuze.