diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-11 08:55:00 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-11 08:55:00 +0000 |
commit | c26ecd67989dd48de5042f6cd6dd05a88cb3c895 (patch) | |
tree | 9dcb482f4b802b3c0c8ac5a0db54382d24485649 /sca-java-2.x/trunk | |
parent | 7b7cac8c46748b7b4b28d09a6bbe1995b0392269 (diff) |
Fix testcase to close the stream
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1044592 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/configuration/xml/NodeConfigurationProcessorTestCase.java | 1 |
1 files changed, 0 insertions, 1 deletions
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(); |