tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r811517 - /tuscany/branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
Date Fri, 04 Sep 2009 19:01:35 GMT
Author: lresende
Date: Fri Sep  4 19:01:34 2009
New Revision: 811517

URL: http://svn.apache.org/viewvc?rev=811517&view=rev
Log:
TUSCANY-3240 - Closing reader after processing spring application-context.xml

Modified:
    tuscany/branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java

Modified: tuscany/branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java?rev=811517&r1=811516&r2=811517&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
(original)
+++ tuscany/branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
Fri Sep  4 19:01:34 2009
@@ -172,6 +172,8 @@
             	reader = xmlInputFactory.createXMLStreamReader(contextResource.openStream());
             	// System.out.println("Spring TypeLoader - starting to read context file");
             	readContextDefinition(resolver, reader, contextPath, beans, services, references,
scaproperties);
+            	
+            	reader.close();
             }
 
         } catch (IOException e) {



Mime
View raw message