Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2012-03-16 10:59:55 -0400
committerGlyn Normington2012-03-16 10:59:55 -0400
commit6ce3514f1729c23b1a0340ed9fa1ebc04e4384a4 (patch)
tree868d48a97e5216010fb1c8e2fa65ba2a6deb689c /org.eclipse.virgo.kernel.deployer.test/src/test/java
parentd97cdabda2954c46128e905c86070e8472160f11 (diff)
downloadorg.eclipse.virgo.kernel-6ce3514f1729c23b1a0340ed9fa1ebc04e4384a4.tar.gz
org.eclipse.virgo.kernel-6ce3514f1729c23b1a0340ed9fa1ebc04e4384a4.tar.xz
org.eclipse.virgo.kernel-6ce3514f1729c23b1a0340ed9fa1ebc04e4384a4.zip
317943: close some streams
Diffstat (limited to 'org.eclipse.virgo.kernel.deployer.test/src/test/java')
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/DeployerLogMessageTests.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/DeployerLogMessageTests.java b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/DeployerLogMessageTests.java
index 70d55f21..e6777658 100644
--- a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/DeployerLogMessageTests.java
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/DeployerLogMessageTests.java
@@ -46,6 +46,7 @@ public class DeployerLogMessageTests extends AbstractParTests {
existingLines++;
line = reader.readLine();
}
+ reader.close();
}
private List<String> findLogMessages(String logCode) throws IOException {
@@ -68,6 +69,7 @@ public class DeployerLogMessageTests extends AbstractParTests {
}
}
}
+ reader.close();
return logMessages;
}

Back to the top