Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2009-07-22 10:24:22 -0400
committerAndrew Niefer2009-07-22 10:24:22 -0400
commitb4a448fcdd2f81dc4bae07f6f027f6c05dc91018 (patch)
treeacccdcedb16daafaec1af40dfbf0ae80018ffa8c /bundles/org.eclipse.equinox.p2.touchpoint.eclipse
parent6f07aa6ffefa64a91390ef7b353128bc379a1ca0 (diff)
downloadrt.equinox.p2-b4a448fcdd2f81dc4bae07f6f027f6c05dc91018.tar.gz
rt.equinox.p2-b4a448fcdd2f81dc4bae07f6f027f6c05dc91018.tar.xz
rt.equinox.p2-b4a448fcdd2f81dc4bae07f6f027f6c05dc91018.zip
fix deprecated warning
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.touchpoint.eclipse')
-rw-r--r--bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Util.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Util.java b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Util.java
index cf13039e2..853123ee0 100644
--- a/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Util.java
+++ b/bundles/org.eclipse.equinox.p2.touchpoint.eclipse/src/org/eclipse/equinox/internal/p2/touchpoint/eclipse/Util.java
@@ -184,7 +184,7 @@ public class Util {
return null;
// convert to a Version object first to ensure we are consistent with our version number w.r.t.
// padding zeros at the end
- bundleInfo.setVersion(new Version(version).toString());
+ bundleInfo.setVersion(Version.parseVersion(version).toString());
String fragmentHost = (String) headers.get(Constants.FRAGMENT_HOST);
if (fragmentHost != null)

Back to the top