diff options
author | Neil Fuller <nfuller@google.com> | 2016-11-29 17:22:29 +0000 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2016-11-29 18:24:35 +0000 |
commit | 7e0ee09d14b21b767699e151e681202902bc7a06 (patch) | |
tree | ea63bff2382b19b9fd741c1741a7b386d082c81b /annotations/generate_annotated_java_files.py | |
parent | 8992e392faa032fc027b979f578ec3d9195f9d36 (diff) |
Refactoring before adding stricter validity checking
Refactoring before adding stricter validity checking.
The tz update behavior needs a way to validate tzdata
files and the current code structure doesn't make that
easy. This commit is mostly rearranging the existing
code to provide a mechanism for loading a single file.
The only functional change intended is to add a
close() call to close the MemoryMappedFile when a file
has been found to be invalid.
Bug: 31008728
Test: CtsLibcoreTestCases
Change-Id: I3c016f0a489319d93d5621ed3de2763f46ea534c
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions