summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorGreg Kaiser <gkaiser@google.com>2019-09-11 15:09:28 -0700
committerGreg Kaiser <gkaiser@google.com>2019-09-11 15:09:28 -0700
commitaf5dc0e779bda25a35c8f8a3eb234bddb9dafeda (patch)
tree80f3e406f193beb75ad103329af4059c7668552f /annotations/generate_annotated_java_files.py
parent63e9ba9de01bba9b4142d32fce94f336084d166e (diff)
Thread test: Avoid potential leak and return first error
While we're not really concerned about a potential memory leak like this in a test, we want to remove it so static analysis tools looking for leaks won't trigger on this. This fix also has the advantage that in the event of multiple failures, we'll return the first one, which is probably most helpful for debugging. Test: TreeHugger Change-Id: Ib8066d7055118a1db067198915815432ed142818
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions