@Test public void testVersionIsNewerOrEqualTo() { assertTrue(GlobalConfigurationValidator.versionIsNewerOrEqualTo("1.0.0", "1.0.0")); assertTrue(GlobalConfigurationValidator.versionIsNewerOrEqualTo("1.1.0", "1.0.0")); assertTrue(GlobalConfigurationValidator.versionIsNewerOrEqualTo("2.0.0", "1.0.0")); assertTrue(GlobalConfigurationValidator.versionIsNewerOrEqualTo("1.0.0.test", "1.0.0")); assertFalse(GlobalConfigurationValidator.versionIsNewerOrEqualTo("1.0.0", "1.1.0")); }
public static boolean versionIsNewerOrEqualTo(String str1, String str2) { return versionCompare(str1, str2) >= 0; }
GlobalConfigurationValidator { public static boolean versionIsNewerOrEqualTo(String str1, String str2) { return versionCompare(str1, str2) >= 0; } }
GlobalConfigurationValidator { public static boolean versionIsNewerOrEqualTo(String str1, String str2) { return versionCompare(str1, str2) >= 0; }  }
GlobalConfigurationValidator { public static boolean versionIsNewerOrEqualTo(String str1, String str2) { return versionCompare(str1, str2) >= 0; }  static void validate(GlobalConfiguration globalConfiguration); static boolean versionIsNewerOrEqualTo(String str1, String str2); static int versionCompare(String str1, String str2); }
GlobalConfigurationValidator { public static boolean versionIsNewerOrEqualTo(String str1, String str2) { return versionCompare(str1, str2) >= 0; }  static void validate(GlobalConfiguration globalConfiguration); static boolean versionIsNewerOrEqualTo(String str1, String str2); static int versionCompare(String str1, String str2);  }