aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2018-06-21 10:58:15 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-21 10:59:24 -0700
commit9594d5e8dc465bb4526a2f15a4b547de7e1324a7 (patch)
tree4d745b06f875ca7d2da6822e494816c85fd08e4f /src/test/java
parentcbf33b778aa5353a11553ce590b51dac1a302a48 (diff)
If a dictionary is used as a general set, the keys should be mapped to `True` instead of `None`.
dict has a get() method that defaults to `None`. Checking for a key in the dictionary with get() will always return `None` in the given example. Using `True` is better. RELNOTES: None. PiperOrigin-RevId: 201551896
Diffstat (limited to 'src/test/java')
0 files changed, 0 insertions, 0 deletions