diff options
author | Neil Fuller <nfuller@google.com> | 2019-06-28 09:22:43 +0100 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2019-06-28 09:22:43 +0100 |
commit | 6aa1611562a67dc51385b12b9318a904165ee9f9 (patch) | |
tree | a49255c44aa307995b18702efb861d5183c21da0 /annotations/generate_annotated_java_files.py | |
parent | a48e2ab2a6272ac96122b631a8015dba4a5e637e (diff) |
Avoid exception with instanceof
Avoid exception with instanceof rather than cast/catch.
All other callers of ParameterizedTypeImpl.getResolvedTypes()
do an instanceof check rather than generate/catch the
exception.
Test: atest CtsLibcoreTestCases
Change-Id: I6b517e4861e525e53f4d61052fc0aea758d4d830
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions