@Test public void isVersionGraterOrEqualsSNAPSHOTFalse() throws ValidationException { String version1 = "3.3.2"; String version2 = "3.3.9-SNAPSHOT"; assertThat(isVersionGreaterOrEquals(version1, version2), is(false)); }
public static Boolean isVersionGreaterOrEquals(String version1, String version2) throws ValidationException { String v1 = completeIncremental(version1); String v2 = completeIncremental(version2); return parseVersion(v1).compareTo(parseVersion(v2)) >= 0; }
VersionUtils { public static Boolean isVersionGreaterOrEquals(String version1, String version2) throws ValidationException { String v1 = completeIncremental(version1); String v2 = completeIncremental(version2); return parseVersion(v1).compareTo(parseVersion(v2)) >= 0; } }
VersionUtils { public static Boolean isVersionGreaterOrEquals(String version1, String version2) throws ValidationException { String v1 = completeIncremental(version1); String v2 = completeIncremental(version2); return parseVersion(v1).compareTo(parseVersion(v2)) >= 0; }  }
VersionUtils { public static Boolean isVersionGreaterOrEquals(String version1, String version2) throws ValidationException { String v1 = completeIncremental(version1); String v2 = completeIncremental(version2); return parseVersion(v1).compareTo(parseVersion(v2)) >= 0; }  static Boolean isVersionValid(String version); static Boolean isVersionGreaterOrEquals(String version1, String version2); static String completeIncremental(String version); static String getBaseVersion(String version); static String getMajor(String version); static boolean isRange(String version); }
VersionUtils { public static Boolean isVersionGreaterOrEquals(String version1, String version2) throws ValidationException { String v1 = completeIncremental(version1); String v2 = completeIncremental(version2); return parseVersion(v1).compareTo(parseVersion(v2)) >= 0; }  static Boolean isVersionValid(String version); static Boolean isVersionGreaterOrEquals(String version1, String version2); static String completeIncremental(String version); static String getBaseVersion(String version); static String getMajor(String version); static boolean isRange(String version);  }