Class OSGIVersionUtil
java.lang.Object
org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.util.OSGIVersionUtil
Avoid using org.osgi.framework.Version.compareTo(Version) method to avoid binary incompatibility with OSGi
frameworks before they were compiled with Java 5.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
OSGIVersionUtil
public OSGIVersionUtil()
-
-
Method Details
-
compare
Same contract asVersion.compareTo(Version)
- Parameters:
that
- TheVersion
object to be compared.other
- TheVersion
object to be compared.- Returns:
- A negative integer, zero, or a positive integer if
that
version is less than, equal to, or greater than the specifiedother
version.
-