Skip to content
Snippets Groups Projects
Commit df84719b authored by felmer's avatar felmer
Browse files

bug fixed: Some readers are not closed which caused test failures on Windows

SVN: 308
parent ef32ada0
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,9 @@ public final class FileUtilities
} catch (IOException ex)
{
throw new CheckedExceptionTunnel(ex);
} finally
{
IOUtils.closeQuietly(fileReader);
}
}
......@@ -99,6 +102,9 @@ public final class FileUtilities
} catch (IOException ex)
{
throw new CheckedExceptionTunnel(ex);
} finally
{
IOUtils.closeQuietly(fileReader);
}
}
......@@ -152,6 +158,9 @@ public final class FileUtilities
} catch (IOException ex)
{
throw new CheckedExceptionTunnel(ex);
} finally
{
IOUtils.closeQuietly(reader);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment