diff options
| author | Elliott Hughes <enh@google.com> | 2012-07-12 13:52:12 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2012-07-12 14:40:18 -0700 |
| commit | fec51846c02116a6ac02fac8ecf8ffb705a74b36 (patch) | |
| tree | bbce8d8acfada757f2688f494738814748a53485 /annotations/generate_annotated_java_files.py | |
| parent | fac398fc546cfba3392a53055ee016a7b0b9c18d (diff) | |
Rewrite File.mkdirs, improve the documentation, and add tests.
Every time anyone stumbles across the File.mkdirs implementation,
usually because of some other problem, it takes us a few minutes
of head-scratching to convince ourselves that the recusive case
is correct. So let's rewrite it to be a little less unclear.
Also improve the documentation and add some tests. Turns out the
only mkdirs tests were implicit (where it's used for test setup)
or for special cases (like the empty path). Duh.
Change-Id: I78376fb1aaa72223c63c581d18c6682a50c84e23
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
