aboutsummaryrefslogtreecommitdiffhomepage
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorGravatar laszlocsomor <laszlocsomor@google.com>2017-07-18 16:30:36 +0200
committerGravatar Klaus Aehlig <aehlig@google.com>2017-07-19 10:19:37 +0200
commitf4aeaedb5f72f234711813b84e214c1edd94d643 (patch)
tree8fe44da60d732e153eee8fa14428f6426cedf9a3 /CHANGELOG.md
parent672510ebbace33eb62ac36b0f9985e6f696b6c9e (diff)
CustomCommandLine: add emptiness checks
This is a semantic roll-forward of https://github.com/bazelbuild/bazel/commit/a76c94be7c56b93fc5a2f9ececfba7ac1f61f69c which was rolled back in https://github.com/bazelbuild/bazel/commit/33cd68e18f554b98194b4ce924580d3333ab9217 due to memory regressions. In this commit: - add @Nullable annotations to CustomCommandLine.Builder.add* methods where it makes sense - add Preconditions.checkNotNull for non-nullable arguments - add emptiness checks for Iterables in add(String, Iterable) style methods, to avoid adding the argument when the Iterable is empty and so the argument would not be followed by any values RELNOTES: none PiperOrigin-RevId: 162349842
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions