commit | c3d793fa781ad98e4df1c6ddd3a2bdeedafcda12 | [log] [tgz] |
---|---|---|
author | Hugo Hudson <hugohudson@google.com> | Thu Jul 14 12:03:41 2011 +0100 |
committer | Hugo Hudson <hugohudson@google.com> | Thu Jul 14 12:03:41 2011 +0100 |
tree | b44d070d573ddabe5823d57a51921728bbc7da06 | |
parent | c1564e400a60414db1eccbdf6de3913a3e1a8504 [diff] |
Adds the MoreCloseables utility file. - This has methods for closing objects iff they are not-null, in exactly the same way as Closeables, but for objects that don't implement the Closeable interface. - Specifically at the moment this involves Cursor and AssetFileDescriptor objects. Change-Id: I92e8719e6deab7652f940d129594cdee3c8f3061