51525354555657
* * @return The version * @since 1.0.0.0 */ public static FourPartVersion getVersion() { return new FourPartVersion(1, 4, 0, 0, VersionType.SNAPSHOT, "ASPIRE"); }
48495051525354
/** * Tests the getVersion() method */ @Test public void testGetVersion() { assertEquals(new FourPartVersion(1, 4, 0, 0, VersionType.SNAPSHOT, "ASPIRE"), Versioneer.getVersion()); }
* * @return The version * @since 1.0.0.0 */ public static FourPartVersion getVersion() { return new FourPartVersion(1, 3, 1, 0, VersionType.STABLE, "ASCENT"); }
134135136137138139140141142143
if (!(obj instanceof Version)) { return false; } //Set up the other version FourPartVersion version = ((Version) obj).toFourPartVersion(); //And compare return ((this.compareTo(version)) == 0); }
192193194195196197198199200201202
revision = Integer.valueOf(versionParts[3].split("[ -]")[0]); } else { revision = Integer.valueOf(versionParts[3]); } version = new FourPartVersion(major, minor, build, revision); } break; case 3: { int major = Integer.valueOf(versionParts[0]);
* * @return The version * @since 1.0.0.0 */ public static FourPartVersion getVersion() { return new FourPartVersion(1, 3, 0, 0, VersionType.STABLE, "CHANGELING"); }
133134135136137138139140141142
191192193194195196197198199200201