Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Waibel2015-05-24 07:43:38 -0400
committerFlorian Waibel2015-05-24 07:43:38 -0400
commit091427045553a8e81510a61d156b938fa6fcc5c6 (patch)
tree568ae4d0015adeb45f5cf38ad13bfa40b0cd20e0
parentea24a797752ba122a7f3c0ae2961bc42f1131f29 (diff)
downloadorg.eclipse.virgo.kernel-091427045553a8e81510a61d156b938fa6fcc5c6.tar.gz
org.eclipse.virgo.kernel-091427045553a8e81510a61d156b938fa6fcc5c6.tar.xz
org.eclipse.virgo.kernel-091427045553a8e81510a61d156b938fa6fcc5c6.zip
Fixes wrongly converted getOutputStream test
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/fs/internal/JarFileArtifactFSTests.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/fs/internal/JarFileArtifactFSTests.java b/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/fs/internal/JarFileArtifactFSTests.java
index 49d2733d..80880df3 100644
--- a/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/fs/internal/JarFileArtifactFSTests.java
+++ b/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/fs/internal/JarFileArtifactFSTests.java
@@ -18,6 +18,7 @@ import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
+import java.io.OutputStream;
import java.util.Scanner;
import org.eclipse.virgo.kernel.artifact.fs.ArtifactFS;
@@ -85,7 +86,7 @@ public class JarFileArtifactFSTests {
@Test(expected = UnsupportedOperationException.class)
public void getOutputStream() throws IOException {
ArtifactFSEntry entry = this.artifactFS.getEntry("test/rawfile");
- try (InputStream dummy = entry.getInputStream()) {
+ try (OutputStream dummy = entry.getOutputStream()) {
}
}

Back to the top