From fb13b402afc12ba3bc8af897fe29ce614c14b179 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 29 Jun 2020 14:22:30 +0200 Subject: [PATCH] Prevent from importing temporary legacy classes --- tools/check/forbidden_strings_in_code.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/check/forbidden_strings_in_code.txt b/tools/check/forbidden_strings_in_code.txt index 137ba13ae7..f7eb7f9c51 100644 --- a/tools/check/forbidden_strings_in_code.txt +++ b/tools/check/forbidden_strings_in_code.txt @@ -164,4 +164,8 @@ Formatter\.formatShortFileSize===1 # android\.text\.TextUtils ### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If it is ok, change the value in file forbidden_strings_in_code.txt -enum class===72 \ No newline at end of file +enum class===72 + +### Do not import temporary legacy classes +import im.vector.matrix.android.internal.legacy.riot===3 +import org.matrix.androidsdk.crypto.data===2