diff options
author | Sven Gothel <[email protected]> | 2013-04-26 05:14:20 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-04-26 05:14:20 +0200 |
commit | b5ede1f7779bb55e25df4a5724c72f79d8f96640 (patch) | |
tree | 7fac57669293627e6002b0adec27518b7fb323fb /src/java/com/jogamp/common/util/VersionNumberString.java | |
parent | ef274002b64850b275fe9867026a89987b3169e0 (diff) |
VersionNumber*: Add static final 'zeroVersion' for convenience and identity.
Diffstat (limited to 'src/java/com/jogamp/common/util/VersionNumberString.java')
-rw-r--r-- | src/java/com/jogamp/common/util/VersionNumberString.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/util/VersionNumberString.java b/src/java/com/jogamp/common/util/VersionNumberString.java index 342fa9a..7e68aea 100644 --- a/src/java/com/jogamp/common/util/VersionNumberString.java +++ b/src/java/com/jogamp/common/util/VersionNumberString.java @@ -34,6 +34,9 @@ package com.jogamp.common.util; */ public class VersionNumberString extends VersionNumber { + /** A {@link #isZero() zero} version instance. */ + public static final VersionNumberString zeroVersion = new VersionNumberString(0, 0, 0, "n/a"); + protected final String strVal; public VersionNumberString(int majorRev, int minorRev, int subMinorRev, String versionString) { |