Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/compress/trunk@1656357 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreator.java b/src/main/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreator.java
index c6fe9f1..198bed1 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreator.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreator.java
@@ -55,7 +55,7 @@
private final List<ScatterZipOutputStream> streams = synchronizedList(new ArrayList<ScatterZipOutputStream>());
private final ExecutorService es;
private final ScatterGatherBackingStoreSupplier backingStoreSupplier;
- private final List<Future> futures = new ArrayList<Future>();
+ private final List<Future<Object>> futures = new ArrayList<Future<Object>>();
private final long startedAt = System.currentTimeMillis();
private long compressionDoneAt = 0;
@@ -195,7 +195,7 @@
throws IOException, InterruptedException, ExecutionException {
// Make sure we catch any exceptions from parallel phase
- for (Future future : futures) {
+ for (Future<?> future : futures) {
future.get();
}