summaryrefslogtreecommitdiff
path: root/golang
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2023-04-27 19:34:08 +0000
committer Yu Liu <yudiliu@google.com> 2023-05-22 22:41:59 +0000
commitde41a698f1da14ef623adaeed46fb02f084586a7 (patch)
treebf1d8fac2e12984d84e03e9e36e8c693b40c0fcb /golang
parentdabeb50e322fa5af0b6d4d031e907702e49837d4 (diff)
Differentiate between empty and nil input
Previously, CopyOf on an empty list was returning nil. With the updates to SortedUniqueStrings and FirstUniqueStrings, we need to differentiate between empty lists and nil. Bug: 275313114 Test: m nothing (cherry picked from https://android-review.googlesource.com/q/commit:cc4da765113299fa11dcb1e651ec4ae33e6f8f9b) Merged-In: I91063ebbe5013cbda5d8f70efde4683c66581599 Change-Id: I91063ebbe5013cbda5d8f70efde4683c66581599
Diffstat (limited to 'golang')
0 files changed, 0 insertions, 0 deletions