commit | 540f9f3a4c98fe30beec57fa6d2730328a3f5226 | [log] [tgz] |
---|---|---|
author | Tor Norbye <tnorbye@google.com> | Thu Jan 03 14:38:31 2013 -0800 |
committer | Tor Norbye <tnorbye@google.com> | Thu Jan 03 14:38:31 2013 -0800 |
tree | 69ea56194c9875b21bae43205165d5a0f7e98ee5 | |
parent | 025883c34883118e6e50700a83f5af0c6fac88d2 [diff] |
Ensure streams are closed after parsing Just read in full contents of XML file up front such that the stream can be closed. Also switch from InputStream to Reader since that's the native format KXml wants anyway (inside setInput() it creates one from the input stream if it doesn't already have one) Change-Id: I69e1602702ac771d29f988169cb7adafefc0198c