diff options
author | Tobias Thierer <tobiast@google.com> | 2017-08-15 18:50:15 +0100 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2017-08-16 17:27:08 +0100 |
commit | 3a7f2c0f65839e4003c69e0930aa5302a9c7633b (patch) | |
tree | 9503772997202981877fe17df3f02d6d3abd5574 /annotations/generate_annotated_java_files.py | |
parent | 9c8d66cf73a635a9b4146993a387503b415ec7de (diff) |
Clarify IoBridge methods.
To let the base CL (Change-Id Id0b0880ed3825f6b8be1caf6236f925a77ba1543)
be focused on a bug fix, this follow-up CL makes additional clarifications
to IoBridge code that are not strictly required:
- Rename connectDetail() -> createMessageForException() to
clarify that this method should only be used to construct
the message for an exception that is about to be thrown.
This clarifies why the method itself doesn't throw IOException.
- Rename cause -> causeOrNull, to clarify that it's nullable.
- Add clarifying documentation to getLocalInetSocketAddress().
Bug: 64209834
Test: LibcoreTestCases
Change-Id: I5b93e6cc0d86d2fb11054eec1a0fce5ea290ef35
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions