tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r811518 - /tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
Date Fri, 04 Sep 2009 19:06:52 GMT
Author: lresende
Date: Fri Sep  4 19:06:51 2009
New Revision: 811518

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

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

Modified: tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java?rev=811518&r1=811517&r2=811518&view=diff
==============================================================================
--- tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
(original)
+++ tuscany/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
Fri Sep  4 19:06:51 2009
@@ -27,8 +27,8 @@
 import java.net.MalformedURLException;
 import java.net.URI;
 import java.net.URL;
-import java.util.Arrays;
 import java.util.ArrayList;
+import java.util.Arrays;
 import java.util.Collection;
 import java.util.Collections;
 import java.util.Enumeration;
@@ -170,6 +170,8 @@
 
             // System.out.println("Spring TypeLoader - starting to read context file");
             readContextDefinition(resolver, reader, contextPath, beans, services, references,
scaproperties);
+            
+            reader.close();
 
         } catch (IOException e) {
             throw new ContributionReadException(e);



Mime
View raw message