From ea576972150e50a58fe3fb64da3f14f04fcf48bb Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 14 Oct 2020 11:20:01 +0200 Subject: [PATCH] Fix warning with enum --- tools/check/forbidden_strings_in_code.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/check/forbidden_strings_in_code.txt b/tools/check/forbidden_strings_in_code.txt index 9c00dca278..6e879df7ab 100644 --- a/tools/check/forbidden_strings_in_code.txt +++ b/tools/check/forbidden_strings_in_code.txt @@ -163,8 +163,8 @@ Formatter\.formatShortFileSize===1 # DISABLED # 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===81 +### 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 the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt +enum class===82 ### Do not import temporary legacy classes import org.matrix.android.sdk.internal.legacy.riot===3