Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Mueller2016-10-27 04:28:24 -0400
committerMarvin Mueller2016-11-03 04:52:55 -0400
commitb797cfa35129e562bd8e83404f87bdaab4bce4f4 (patch)
tree6634358420730af5a861d7a8ea745dfc6e3fc046
parent1cfaa13dddde2ddcb53a4fdce4bda01c39e28ac0 (diff)
downloadorg.eclipse.jubula.core-b797cfa35129e562bd8e83404f87bdaab4bce4f4.tar.gz
org.eclipse.jubula.core-b797cfa35129e562bd8e83404f87bdaab4bce4f4.tar.xz
org.eclipse.jubula.core-b797cfa35129e562bd8e83404f87bdaab4bce4f4.zip
Fix for ClassCastException during writing of Monitoring Reports
-rw-r--r--org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/ZipUtil.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/ZipUtil.java b/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/ZipUtil.java
index 4dba272f6..ffce14a44 100644
--- a/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/ZipUtil.java
+++ b/org.eclipse.jubula.tools/src/org/eclipse/jubula/tools/internal/utils/ZipUtil.java
@@ -200,8 +200,7 @@ public class ZipUtil {
}
}
}
-
- return (File[])extractedFiles.toArray();
+ return extractedFiles.toArray(new File[extractedFiles.size()]);
}
/**

Back to the top