Close properly the readers

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571120 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2007-08-30 12:00:09 +00:00
parent fc1dad0d22
commit a8f5da6950
1 changed files with 1 additions and 8 deletions

View File

@ -777,14 +777,7 @@ public class MavenEmbedder
}
finally
{
try
{
fileReader.close();
}
catch ( IOException e )
{
// nothing to do
}
IOUtil.close( fileReader );
}
}