OSDN Git Service

Stop using return within finally
authorRay Essick <essick@google.com>
Thu, 3 Nov 2016 21:45:56 +0000 (14:45 -0700)
committerRay Essick <essick@google.com>
Thu, 3 Nov 2016 21:45:56 +0000 (14:45 -0700)
commit7601049275e0e81d8f494ccb22bdb8b06bfcd806
treeb8afd6cd89f7ac958d8d8497e52247eab8db891e
parent6054a30a7f1cbd6eb6ae11fff8cc8dbd2e3bfb25
Stop using return within finally

Refactor code to avoid a return statement inside a finally block. Such
constructs interfere with exception propagation in non-obvious ways
and are therefore considered bad practice.

Bug: 32586420
Test: manual code walk
core/java/android/hardware/radio/RadioMetadata.java