From c26ecd67989dd48de5042f6cd6dd05a88cb3c895 Mon Sep 17 00:00:00 2001 From: antelder Date: Sat, 11 Dec 2010 08:55:00 +0000 Subject: Fix testcase to close the stream git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1044592 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/node/configuration/xml/NodeConfigurationProcessorTestCase.java | 1 - 1 file changed, 1 deletion(-) (limited to 'sca-java-2.x/trunk') diff --git a/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/configuration/xml/NodeConfigurationProcessorTestCase.java b/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/configuration/xml/NodeConfigurationProcessorTestCase.java index a10f2cccd4..f591a4ea68 100644 --- a/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/configuration/xml/NodeConfigurationProcessorTestCase.java +++ b/sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/configuration/xml/NodeConfigurationProcessorTestCase.java @@ -64,7 +64,6 @@ public class NodeConfigurationProcessorTestCase { InputStream is = getClass().getResourceAsStream("/org/apache/tuscany/sca/node/configuration/node1.xml"); XMLInputFactory xmlInputFactory = factories.getFactory(XMLInputFactory.class); XMLStreamReader reader = xmlInputFactory.createXMLStreamReader(is); - is.close(); reader.nextTag(); NodeConfiguration config = (NodeConfiguration) processor.read(reader, context); StringWriter sw = new StringWriter(); -- cgit v1.2.3