Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2012-08-24 11:50:22 -0400
committerChristopher Frost2012-08-24 11:50:22 -0400
commita78d34ca28f42cc9c49422a4d53dbc7dfc3a9961 (patch)
treeab611cd5b6973058a440290b195ca0222b8ab8a8 /org.eclipse.virgo.kernel.artifact
parentfcc1a09a8c2748d7de85a402e0a6a28b8e073476 (diff)
downloadorg.eclipse.virgo.kernel-a78d34ca28f42cc9c49422a4d53dbc7dfc3a9961.tar.gz
org.eclipse.virgo.kernel-a78d34ca28f42cc9c49422a4d53dbc7dfc3a9961.tar.xz
org.eclipse.virgo.kernel-a78d34ca28f42cc9c49422a4d53dbc7dfc3a9961.zip
Fixing up some test fails
Diffstat (limited to 'org.eclipse.virgo.kernel.artifact')
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/internal/JarFileArtifactFSEntry.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/internal/JarFileArtifactFSEntry.java b/org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/internal/JarFileArtifactFSEntry.java
index 271037a7..215f5253 100644
--- a/org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/internal/JarFileArtifactFSEntry.java
+++ b/org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/internal/JarFileArtifactFSEntry.java
@@ -144,7 +144,8 @@ final class JarFileArtifactFSEntry implements ArtifactFSEntry {
/**
* {@inheritDoc}
*/
- public InputStream getInputStream() {
+ @SuppressWarnings("resource")
+ public InputStream getInputStream() {
JarFileScanner scanner = new JarFileScanner();
ZipEntry entry = scanner.getNextEntry();
while (entry != null && !this.entryName.equals(entry.getName())) {

Back to the top