summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2021-11-16 14:52:12 -0800
committer Cole Faust <colefaust@google.com> 2021-11-18 10:15:26 -0800
commitf1f44d3d2115fb750710212e20ea0bb55e115a96 (patch)
treec7635df881f9aa6afb73d80ff4972cc7c28bad70 /java/java.go
parent2b244217a28c9efb26ba85cbcda4830088bfc2f8 (diff)
Simplify equality expressions when comparing to "true"
If a boolean type is compared to a string literal with the value "true", it should just output that boolean type unchanged (or prefixed with "not" if ifneq). Fixes: 206637085 Test: go test Change-Id: I0c116bb68b96d21ba3783c01fc4ca524aaa04143
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions