From 1de02c2fbb57d3563b50712c8a6f090690d1eda3 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 22 Oct 2019 17:41:59 +0200 Subject: [PATCH] Ensure android.text.TextUtils will never be used again --- tools/check/forbidden_strings_in_code.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/check/forbidden_strings_in_code.txt b/tools/check/forbidden_strings_in_code.txt index 7e00295a48..36f26452f0 100644 --- a/tools/check/forbidden_strings_in_code.txt +++ b/tools/check/forbidden_strings_in_code.txt @@ -156,3 +156,6 @@ Formatter\.formatFileSize===1 ### Use TextUtils.formatFileSize with short format param to true Formatter\.formatShortFileSize===1 + +### Use kotlin stdlib to test or compare strings +android\.text\.TextUtils