From 0a645916cd78de333482cf68329864618562fb98 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Wed, 16 Oct 2024 16:25:03 +0200 Subject: [PATCH] Add checkstyle rule for toLowerCase/toUpperCase This commit adds a checkstyle rule that prevents the re-introduction of such calls. See gh-33708 --- src/checkstyle/checkstyle-suppressions.xml | 2 ++ src/checkstyle/checkstyle.xml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/src/checkstyle/checkstyle-suppressions.xml b/src/checkstyle/checkstyle-suppressions.xml index f13676e513..e2f171fc73 100644 --- a/src/checkstyle/checkstyle-suppressions.xml +++ b/src/checkstyle/checkstyle-suppressions.xml @@ -12,6 +12,8 @@ + + diff --git a/src/checkstyle/checkstyle.xml b/src/checkstyle/checkstyle.xml index bef287af00..fab78b7ac4 100644 --- a/src/checkstyle/checkstyle.xml +++ b/src/checkstyle/checkstyle.xml @@ -221,6 +221,22 @@ + + + + + + + + + + + + + +