summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Daniel2013-12-09 13:40:24 (EST)
committerKrzysztof Daniel2013-12-09 16:44:18 (EST)
commit2ca022eb0df3df4091a6f06d8f8b10f8675fc88b (patch)
tree229861ec87fb4e661fa4fa920091f422419d5f9b
parentc9a799d0300e76219b99cb9d3227e3df71939f54 (diff)
downloadrt.equinox.p2-2ca022eb0df3df4091a6f06d8f8b10f8675fc88b.zip
rt.equinox.p2-2ca022eb0df3df4091a6f06d8f8b10f8675fc88b.tar.gz
rt.equinox.p2-2ca022eb0df3df4091a6f06d8f8b10f8675fc88b.tar.bz2
bug 418662: Get rid of compile warnings in official build -refs/changes/23/19523/2
org.eclipse.equinox.p2.repository.tools Change-Id: I9cedbed4c0aac82961e41c88d9dfc355c972f934 Signed-off-by: Krzysztof Daniel <kdaniel@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/comparator/JarComparator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/comparator/JarComparator.java b/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/comparator/JarComparator.java
index 8ebea0c..15d4833 100644
--- a/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/comparator/JarComparator.java
+++ b/bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/comparator/JarComparator.java
@@ -169,6 +169,7 @@ public class JarComparator implements IArtifactComparator {
return parent.getChildren().length == 0 ? Status.OK_STATUS : parent;
}
+ @SuppressWarnings("resource")
public IStatus compare(File sourceFile, File destinationFile) {
ZipFile firstFile = null;
ZipFile secondFile = null;