summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-10-15 15:38:38 -0600
committerJeff Sharkey <jsharkey@android.com>2020-10-16 13:44:22 -0600
commita52266b3e352e33bae1ce77cfef7b16219f4817e (patch)
tree9f08831f9cd2a3e03760d823901db74133a12034 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentaf7c5f95cb963fcf482b84af434776337f69dbad (diff)
Recommend efficient String operations.
Android offers several efficient alternatives to some upstream String operations, such as the newly added TextUtils.formatSimple(). This checker also detects and discourages transparent StringBuilder operations related to Preconditions, where we always pay the cost of building the failure message string, even in the successful case. Bug: 170978902 Test: atest error_prone_android_framework_test Change-Id: I8cef4c50d8b0da3f1e66727dfa724ad44b88963b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions