From 31c517888ab3e1be0eec39b9708dc8b6ccb9f8de Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Sun, 8 Nov 2026 16:34:02 +0900 Subject: [PATCH] =?UTF-8?q?build(spotbugs):=20=EC=A0=9C=EC=99=B8=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=EC=9D=B4=20=EC=9D=B4=20repo=20=ED=81=B4?= =?UTF-8?q?=EB=9E=98=EC=8A=A4=EB=A7=8C=20=EB=A7=90=ED=95=98=EA=B2=8C=20?= =?UTF-8?q?=EB=8B=A4=EB=93=AC=EB=8A=94=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 템플릿 제외 목록에서 메시징 줄을 골라 옮기면서, 묶음 Match의 주석이 템플릿 클래스(HttpClientProfileFactory, NotificationJsonMapper, @RequiresPermission 등)를 계속 부른다. 이 repo에 없는 클래스를 읽고 제외 이유를 판단하게 된다. 템플릿의 생성 소스 제외(generated 폴더)도 빠졌다. 주석을 메시징 클래스만 말하게 고치고, 생성 소스 제외 Match를 템플릿과 같이 되살렸다. 클래스를 고르는 Match는 바뀌지 않았다. 위험: 생성 소스 제외는 지금 생성 소스가 없어 아무것도 빼지 않는다. 검증: 이 PR의 pr workflow(./gradlew ci, SpotBugs main·test 포함). --- config/spotbugs/exclude-test.xml | 5 ++-- config/spotbugs/exclude.xml | 42 +++++++++++++++----------------- 2 files changed, 21 insertions(+), 26 deletions(-) diff --git a/config/spotbugs/exclude-test.xml b/config/spotbugs/exclude-test.xml index e371478..24e51d7 100644 --- a/config/spotbugs/exclude-test.xml +++ b/config/spotbugs/exclude-test.xml @@ -68,9 +68,8 @@ - + diff --git a/config/spotbugs/exclude.xml b/config/spotbugs/exclude.xml index 4afb094..e97495b 100644 --- a/config/spotbugs/exclude.xml +++ b/config/spotbugs/exclude.xml @@ -11,6 +11,11 @@ --> + + + + + + copies (MessagingConfigurationCompiler copies into DestinationAccessPolicy and + SchemaPolicy). A settings record that validates a collection in its own constructor copies + it there instead. --> @@ -138,13 +141,9 @@ A final class cannot be attacked this way, and every class that could be made final was. These three groups must stay subclassable. --> - + @@ -155,9 +154,8 @@ + and backtracking is linear, not exponential. The values also check the length (at most + 64-256 characters) before the pattern runs. --> @@ -174,11 +172,10 @@ - + @@ -186,8 +183,7 @@ -