Skip to content

Commit 49c946c

Browse files
committed
Fix generics warnings
1 parent a933dd4 commit 49c946c

File tree

1 file changed

+2
-2
lines changed
  • org.eclipse.wildwebdeveloper.embedder.node/src/org/eclipse/wildwebdeveloper/embedder/node

1 file changed

+2
-2
lines changed

org.eclipse.wildwebdeveloper.embedder.node/src/org/eclipse/wildwebdeveloper/embedder/node/CompressUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static void unarchive(URL archiveURL, File baseDir) throws IOException {
3535
if (archiveURL == null || baseDir == null) {
3636
return;
3737
}
38-
ArchiveInputStream archive = null;
38+
ArchiveInputStream<?> archive = null;
3939
try (InputStream input = archiveURL.openStream()) {
4040
if (archiveURL.getFile().endsWith(".tar.gz")) { //$NON-NLS-1$
4141
InputStream gz = new GzipCompressorInputStream(input);
@@ -66,7 +66,7 @@ public static void unarchive(URL archiveURL, File baseDir) throws IOException {
6666
* @param destination
6767
* destination folder
6868
*/
69-
private static void extractArchive(ArchiveInputStream in, File destination) throws IOException {
69+
private static void extractArchive(ArchiveInputStream<?> in, File destination) throws IOException {
7070
ArchiveEntry entry = null;
7171
while ((entry = in.getNextEntry()) != null) {
7272
if (!in.canReadEntryData(entry)) {

0 commit comments

Comments
 (0)