comparison src/org/tmatesoft/hg/internal/RequiresFile.java @ 246:ff4fdbab4e2d

Close file streams
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 11 Aug 2011 05:12:13 +0200
parents 71ddbf8603e8
children 981f9f50bb6c
comparison
equal deleted inserted replaced
245:2fb439375ddc 246:ff4fdbab4e2d
55 int flags = 0; 55 int flags = 0;
56 flags += store ? STORE : 0; 56 flags += store ? STORE : 0;
57 flags += fncache ? FNCACHE : 0; 57 flags += fncache ? FNCACHE : 0;
58 flags += dotencode ? DOTENCODE : 0; 58 flags += dotencode ? DOTENCODE : 0;
59 repoImpl.setStorageConfig(revlogv1 ? 1 : 0, flags); 59 repoImpl.setStorageConfig(revlogv1 ? 1 : 0, flags);
60 br.close();
60 } catch (IOException ex) { 61 } catch (IOException ex) {
61 ex.printStackTrace(); // FIXME log 62 ex.printStackTrace(); // FIXME log
62 } 63 }
63 } 64 }
64 } 65 }