summaryrefslogtreecommitdiff
path: root/tests/SystemUIDemoModeController/src
diff options
context:
space:
mode:
author Eric Biggers <ebiggers@google.com> 2022-07-29 17:57:51 +0000
committer Eric Biggers <ebiggers@google.com> 2022-07-29 18:22:16 +0000
commit1174b2fd681164499fb12082743e391e4c99994c (patch)
tree37d5b6a0b7522dc8a786bd93d0d9ad9991d01dc7 /tests/SystemUIDemoModeController/src
parent4ce1f9d47d406b5b89f9f3dc91a25021be85697a (diff)
ArrayUtils: rename concatElements() to concat()
concatElements() was probably named as it is to be like addElement() and removeElement(). However, that doesn't really make sense because the parameters of concatElements() are only arrays, not array elements. Rename it to concat(), as that is just as clear and follows the example of Guava's ObjectArrays.concat(). And I'd like to add a variant that operates on byte arrays, and would like to call it concat(). Also clean up the tests a bit. Test: atest com.android.internal.util.ArrayUtilsTest BYPASS_INCLUSIVE_LANGUAGE_REASON=existing code in SettingsBackupAgent Change-Id: I21e958d3d7b3366ec724e757ac4ccc50b36abee1
Diffstat (limited to 'tests/SystemUIDemoModeController/src')
0 files changed, 0 insertions, 0 deletions