Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2013-08-26 19:11:14 +0000
committerBrian Vosburgh2013-08-26 19:15:18 +0000
commit6cc2529af09193c46844fdb7d9be4a2cf0784a09 (patch)
treeba03a6d2957d4175e8fc9ad873760eae2568e134 /jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core
parent1f0905687a833eec46fc7eb35a0626764303a768 (diff)
downloadwebtools.dali-6cc2529af09193c46844fdb7d9be4a2cf0784a09.tar.gz
webtools.dali-6cc2529af09193c46844fdb7d9be4a2cf0784a09.tar.xz
webtools.dali-6cc2529af09193c46844fdb7d9be4a2cf0784a09.zip
add some Comparator testsv201308262207
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core')
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/EclipseLinkJpaPlatformFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/EclipseLinkJpaPlatformFactory.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/EclipseLinkJpaPlatformFactory.java
index 4c65a125c7..b54d5b3160 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/EclipseLinkJpaPlatformFactory.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/internal/EclipseLinkJpaPlatformFactory.java
@@ -11,7 +11,7 @@ package org.eclipse.jpt.jpa.eclipselink.core.internal;
import org.eclipse.jpt.common.core.AnnotationProvider;
import org.eclipse.jpt.common.core.JptResourceType;
-import org.eclipse.jpt.common.utility.internal.comparator.VersionComparator;
+import org.eclipse.jpt.common.utility.internal.comparator.ComparatorTools;
import org.eclipse.jpt.jpa.core.JpaPlatform;
import org.eclipse.jpt.jpa.core.JpaPlatformFactory;
import org.eclipse.jpt.jpa.core.JpaPlatformVariation;
@@ -119,7 +119,7 @@ public class EclipseLinkJpaPlatformFactory
* @see EclipseLinkJpaPlatformFactory2_5#VERSION
*/
public boolean isCompatibleWithEclipseLinkVersion(String version) {
- return VersionComparator.INTEGER_VERSION_COMPARATOR.compare(this.eclipseLinkVersion, version) >= 0;
+ return ComparatorTools.integerVersionComparator().compare(this.eclipseLinkVersion, version) >= 0;
}
@Override

Back to the top