comparison src/org/tmatesoft/hg/internal/ConfigFile.java @ 73:0d279bcc4442

Utility for future troubleshooting
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Sun, 23 Jan 2011 04:06:18 +0100
parents 5a69397f0f99
children a3a2e5deb320
comparison
equal deleted inserted replaced
72:9a03a80a0f2f 73:0d279bcc4442
93 content.add(section); 93 content.add(section);
94 } 94 }
95 section.put(key, value); 95 section.put(key, value);
96 } 96 }
97 } 97 }
98 br.close();
98 } catch (IOException ex) { 99 } catch (IOException ex) {
99 ex.printStackTrace(); // XXX shall outer world care? 100 ex.printStackTrace(); // XXX shall outer world care?
100 } 101 }
101 ((ArrayList<?>) sections).trimToSize(); 102 ((ArrayList<?>) sections).trimToSize();
102 ((ArrayList<?>) content).trimToSize(); 103 ((ArrayList<?>) content).trimToSize();