Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2010-11-19 22:54:07 +0000
committerAndrew Niefer2010-11-19 22:54:07 +0000
commit34875a9e7539283136c10f2280929dc032e70a68 (patch)
tree8fb684a8ba918699ea3c84c6ac0941518503c7e2 /bundles/org.eclipse.equinox.p2.touchpoint.natives
parent13dff60a8b4dcad1a386ff311fd8cc9e6eabb2fa (diff)
downloadrt.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.java4
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());
}
}

Back to the top