diff options
author | Thiago Farina <tfarina@chromium.org> | 2016-01-26 12:01:18 +0000 |
---|---|---|
committer | Lukacs Berki <lberki@google.com> | 2016-01-26 13:06:28 +0000 |
commit | 96d3b9682e3313c5fdc1e575c22aa286336fb2b2 (patch) | |
tree | 5d87b0dc4833db95e13df90fc3fa9994c00d8926 /src/main/java/com/google | |
parent | 546c265ba453008d302a6c73acefc22dbcd6d6e1 (diff) |
cpp: make callsites of Connect() function more readable
The consumers of Connect() function are just interested in knowning if
it has connected or not ("Did we connect?"). Leave the check for zero as
implementation detail of this function, making the callsites not having
to repeat the condition themselves.
--
Change-Id: Idc327c681c5defbb27039cd170f32d5ebd0e0a32
Reviewed-on: https://bazel-review.googlesource.com/#/c/2750/
MOS_MIGRATED_REVID=113040325
Diffstat (limited to 'src/main/java/com/google')
0 files changed, 0 insertions, 0 deletions