diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-09-17 15:43:13 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-09-17 16:03:50 +0200 |
commit | 9fee7b6a2ac8663b0608b85001259320e1409a04 (patch) | |
tree | 3551b0f01c584566172438db32db508324fb633b /test/scaladoc/scalacheck | |
parent | 2bb960c68091b804d8ace1f76460279f6567a193 (diff) | |
download | scala-9fee7b6a2ac8663b0608b85001259320e1409a04.tar.gz scala-9fee7b6a2ac8663b0608b85001259320e1409a04.tar.bz2 scala-9fee7b6a2ac8663b0608b85001259320e1409a04.zip |
SI-7852 Omit null check for "".==
Although the same the code would be later optimized by -Yconst-opt,
we can offer the same lean byte code to those compiling without that
option by being more discerning when translating ==.
This helps people using bytecode based code coverage tools
such as jacoco that would emit "branch not covered" warnings
for the impossible null check.
Diffstat (limited to 'test/scaladoc/scalacheck')
0 files changed, 0 insertions, 0 deletions