From 0d9bc188d7700657c74786125ad769dae8ba7f24 Mon Sep 17 00:00:00 2001 From: ariskotsomitopoulos Date: Sun, 26 Dec 2021 00:48:11 +0200 Subject: [PATCH] Fix code quality issues --- tools/check/forbidden_strings_in_code.txt | 2 +- tools/check/forbidden_strings_in_layout.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 tools/check/forbidden_strings_in_code.txt mode change 100644 => 100755 tools/check/forbidden_strings_in_layout.txt diff --git a/tools/check/forbidden_strings_in_code.txt b/tools/check/forbidden_strings_in_code.txt old mode 100644 new mode 100755 index 6ca86be095..7b869e8cd2 --- a/tools/check/forbidden_strings_in_code.txt +++ b/tools/check/forbidden_strings_in_code.txt @@ -160,7 +160,7 @@ 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 the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt -enum class===114 +enum class===117 ### Do not import temporary legacy classes import org.matrix.android.sdk.internal.legacy.riot===3 diff --git a/tools/check/forbidden_strings_in_layout.txt b/tools/check/forbidden_strings_in_layout.txt old mode 100644 new mode 100755 index 545983f844..e46aa3a0bb --- a/tools/check/forbidden_strings_in_layout.txt +++ b/tools/check/forbidden_strings_in_layout.txt @@ -24,7 +24,7 @@ # Extension:xml ### Use style="@style/Widget.Vector.TextView.*" instead of textSize attribute -android:textSize===9 +android:textSize===11 ### Use `@id` and not `@+id` when referencing ids in layouts layout_(.*)="@\+id