Author: khmarbaise Date: Mon May 16 11:52:16 2016 New Revision: 1744027 URL: http://svn.apache.org/viewvc?rev=1744027&view=rev Log: Closing resource
Modified: maven/shared/trunk/maven-filtering/src/main/java/org/apache/maven/shared/filtering/MultiDelimiterInterpolatorFilterReaderLineEnding.java Modified: maven/shared/trunk/maven-filtering/src/main/java/org/apache/maven/shared/filtering/MultiDelimiterInterpolatorFilterReaderLineEnding.java URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-filtering/src/main/java/org/apache/maven/shared/filtering/MultiDelimiterInterpolatorFilterReaderLineEnding.java?rev=1744027&r1=1744026&r2=1744027&view=diff ============================================================================== --- maven/shared/trunk/maven-filtering/src/main/java/org/apache/maven/shared/filtering/MultiDelimiterInterpolatorFilterReaderLineEnding.java (original) +++ maven/shared/trunk/maven-filtering/src/main/java/org/apache/maven/shared/filtering/MultiDelimiterInterpolatorFilterReaderLineEnding.java Mon May 16 11:52:16 2016 @@ -232,6 +232,7 @@ public class MultiDelimiterInterpolatorF int ch = in.read(); if ( ch == -1 || ( ch == '\n' && !supportMultiLineFiltering ) ) { + in.close(); return ch; }