# HG changeset patch # User Artem Tikhomirov # Date 1313032333 -7200 # Node ID ff4fdbab4e2d649c3b492a6637722a3e4be3a9a5 # Parent 2fb439375ddc566833a279d98df2afbd787be786 Close file streams diff -r 2fb439375ddc -r ff4fdbab4e2d src/org/tmatesoft/hg/internal/RequiresFile.java --- a/src/org/tmatesoft/hg/internal/RequiresFile.java Thu Jul 14 03:18:37 2011 +0200 +++ b/src/org/tmatesoft/hg/internal/RequiresFile.java Thu Aug 11 05:12:13 2011 +0200 @@ -57,6 +57,7 @@ flags += fncache ? FNCACHE : 0; flags += dotencode ? DOTENCODE : 0; repoImpl.setStorageConfig(revlogv1 ? 1 : 0, flags); + br.close(); } catch (IOException ex) { ex.printStackTrace(); // FIXME log } diff -r 2fb439375ddc -r ff4fdbab4e2d src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java --- a/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java Thu Jul 14 03:18:37 2011 +0200 +++ b/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java Thu Aug 11 05:12:13 2011 +0200 @@ -379,6 +379,7 @@ filters.write(fb); fb.compact(); } + fis.close(); return check.ultimatelyTheSame(); } catch (IOException ex) { if (fis != null) {