summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-07-30 08:26:45 -0700
committerElliott Hughes <enh@google.com>2012-07-30 08:26:45 -0700
commit86f5f3e0e2bd808e4c85b0563ae50f17b7d48309 (patch)
tree882930932542a0bd8b13a723348a60bdae6f95bd /annotations/generate_annotated_java_files.py
parent044b0dc026e63ac637e6f9bb63d1acee121e85a5 (diff)
Repair the damage I did removing "useless" checkIndex calls from the asXBuffer adapter classes.
The checkIndex calls were unnecessary as far as throwing the right Exception subclass goes, but they're necessary if you want the detail message to use the units of the wrapping buffer rather than the wrapped buffer. And we want that. An IndexOutOfBoundsException that says "offset=0, limit=1" is only going to confuse developers. (Fixes bug introduced by 26841c0bb838d54fea2e1a06390e413fab561e27.) Bug: 6085292 Change-Id: I9a1a5991ad383b7712642e40bced9af91440bed2
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions