diff options
author | 2016-09-28 08:59:38 +0000 | |
---|---|---|
committer | 2016-09-28 09:18:26 +0000 | |
commit | af25cea3d0b2663226a3718fdfa619457a43a8b9 (patch) | |
tree | 076ee7d060b0df06708c5cb9eeb0d0717823cbea /src/main/java/com/google/devtools/build/lib/rules/cpp/ArtifactCategory.java | |
parent | 1047bbbb4a024ccc372f1464f8439764b233a1a8 (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 'src/main/java/com/google/devtools/build/lib/rules/cpp/ArtifactCategory.java')
0 files changed, 0 insertions, 0 deletions