Return-Path: Delivered-To: apmail-tuscany-commits-archive@www.apache.org Received: (qmail 82648 invoked from network); 4 Sep 2009 18:58:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Sep 2009 18:58:53 -0000 Received: (qmail 93725 invoked by uid 500); 4 Sep 2009 18:58:53 -0000 Delivered-To: apmail-tuscany-commits-archive@tuscany.apache.org Received: (qmail 93664 invoked by uid 500); 4 Sep 2009 18:58:53 -0000 Mailing-List: contact commits-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tuscany.apache.org Delivered-To: mailing list commits@tuscany.apache.org Received: (qmail 93654 invoked by uid 99); 4 Sep 2009 18:58:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 18:58:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2009 18:58:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3371C23888D4; Fri, 4 Sep 2009 18:58:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r811515 - /tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java Date: Fri, 04 Sep 2009 18:58:29 -0000 To: commits@tuscany.apache.org From: lresende@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090904185829.3371C23888D4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lresende Date: Fri Sep 4 18:58:28 2009 New Revision: 811515 URL: http://svn.apache.org/viewvc?rev=811515&view=rev Log: TUSCANY-3240 - Closing reader after processing spring application-context.xml Modified: tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java Modified: tuscany/branches/sca-java-1.5.1/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.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java?rev=811515&r1=811514&r2=811515&view=diff ============================================================================== --- tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java (original) +++ tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java Fri Sep 4 18:58:28 2009 @@ -175,6 +175,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);