summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Bull2013-09-03 14:31:25 (EDT)
committerIan Bull2013-09-03 14:31:25 (EDT)
commit398732df8237f65813b17124561fa7526ddc8e2e (patch)
treeff71cad2c9d3a6286cc8d49aa28a2f0a07ee5f78
parentabbc3cdc7bd2f33fb05df552674a860632b5b1eb (diff)
downloadrt.equinox.p2-398732df8237f65813b17124561fa7526ddc8e2e.zip
rt.equinox.p2-398732df8237f65813b17124561fa7526ddc8e2e.tar.gz
rt.equinox.p2-398732df8237f65813b17124561fa7526ddc8e2e.tar.bz2
Bug 381673 - 16 compile warnings in official build
Removed an unused variable and the call to fetch the value. Since the variable isn't used and the call to fetch the value doesn't appear to have any side effects, I've removed them.
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.optimizers/src/org/eclipse/equinox/internal/p2/artifact/optimizers/jardelta/Optimizer.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.optimizers/src/org/eclipse/equinox/internal/p2/artifact/optimizers/jardelta/Optimizer.java b/bundles/org.eclipse.equinox.p2.artifact.optimizers/src/org/eclipse/equinox/internal/p2/artifact/optimizers/jardelta/Optimizer.java
index 05794f6..fc7fea2 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.optimizers/src/org/eclipse/equinox/internal/p2/artifact/optimizers/jardelta/Optimizer.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.optimizers/src/org/eclipse/equinox/internal/p2/artifact/optimizers/jardelta/Optimizer.java
@@ -85,7 +85,6 @@ public class Optimizer {
int minWidth = Math.min(width, keys[i].length);
for (int j = 0; j < minWidth; j++) {
IArtifactKey key = keys[i][j];
- boolean isArchive = key.getClassifier().equals("plugin"); //$NON-NLS-1$
optimize(keys[i], key);
}
}