@Override
	public int compare(String version1, String version2) {
		if(ObjectUtil.equal(version1, version2)) {
			return 0;
		}
		if (version1 == null && version2 == null) {
			return 0;
		} else if (version1 == null) {// null或""视为最小版本，排在前
			return -1;
		} else if (version2 == null) {
			return 1;
		}

		return CompareUtil.compare(Version.of(version1), Version.of(version2));
	}
@Test
	public void equalsTest2() {
		final int compare = VersionComparator.INSTANCE.compare("1.12.0", "1.12");
		assertEquals(0, compare);
	}