diff options
author | Andrew Niefer | 2010-11-19 22:54:07 +0000 |
---|---|---|
committer | Andrew Niefer | 2010-11-19 22:54:07 +0000 |
commit | 34875a9e7539283136c10f2280929dc032e70a68 (patch) | |
tree | 8fb684a8ba918699ea3c84c6ac0941518503c7e2 /bundles/org.eclipse.equinox.p2.touchpoint.natives | |
parent | 13dff60a8b4dcad1a386ff311fd8cc9e6eabb2fa (diff) | |
download | rt.equinox.p2-34875a9e7539283136c10f2280929dc032e70a68.tar.gz rt.equinox.p2-34875a9e7539283136c10f2280929dc032e70a68.tar.xz rt.equinox.p2-34875a9e7539283136c10f2280929dc032e70a68.zip |
Fix use of 1.5 methods
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.touchpoint.natives')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.touchpoint.natives/src/org/eclipse/equinox/internal/p2/touchpoint/natives/actions/CleanupzipAction.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.touchpoint.natives/src/org/eclipse/equinox/internal/p2/touchpoint/natives/actions/CleanupzipAction.java b/bundles/org.eclipse.equinox.p2.touchpoint.natives/src/org/eclipse/equinox/internal/p2/touchpoint/natives/actions/CleanupzipAction.java index 7ef7d5413..98201c991 100644 --- a/bundles/org.eclipse.equinox.p2.touchpoint.natives/src/org/eclipse/equinox/internal/p2/touchpoint/natives/actions/CleanupzipAction.java +++ b/bundles/org.eclipse.equinox.p2.touchpoint.natives/src/org/eclipse/equinox/internal/p2/touchpoint/natives/actions/CleanupzipAction.java @@ -102,10 +102,10 @@ public class CleanupzipAction extends ProvisioningAction { if (f1 == null) return 1; try { - return Integer.valueOf(f2.getCanonicalPath().length()).compareTo(f1.getCanonicalPath().length()); + return new Integer(f2.getCanonicalPath().length()).compareTo(f1.getCanonicalPath().length()); } catch (IOException e) { // did our best. try an absolute path compare - return Integer.valueOf(f2.getAbsolutePath().length()).compareTo(f1.getAbsolutePath().length()); + return new Integer(f2.getAbsolutePath().length()).compareTo(f1.getAbsolutePath().length()); } } |