aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/apache_commons_pool2
diff options
context:
space:
mode:
authorGravatar Thiago Farina <tfarina@chromium.org>2016-09-28 08:59:38 +0000
committerGravatar Yun Peng <pcloudy@google.com>2016-09-28 09:18:26 +0000
commitaf25cea3d0b2663226a3718fdfa619457a43a8b9 (patch)
tree076ee7d060b0df06708c5cb9eeb0d0717823cbea /third_party/apache_commons_pool2
parent1047bbbb4a024ccc372f1464f8439764b233a1a8 (diff)
cpp: reuse InWorkspace() function in GetWorkspace()
The access() check in the do-while loop is basically doing the same thing that the InWorkspace() function provides. So lets just call that function instead. It also has the effect of making the code easier to read and understand. -- Change-Id: I02495775a9c9aa262396261824359538ca650e36 Reviewed-on: https://bazel-review.googlesource.com/#/c/6230 MOS_MIGRATED_REVID=134509465
Diffstat (limited to 'third_party/apache_commons_pool2')
0 files changed, 0 insertions, 0 deletions