Clean up warnings in Gradle build

This commit is contained in:
Sam Brannen
2024-03-23 09:28:49 +01:00
parent 05b15812bb
commit 7edd4e8e22
2 changed files with 2 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ class LocaleContextThreadLocalAccessorTests {
@ParameterizedTest
@MethodSource
@SuppressWarnings("try")
void propagation(@Nullable LocaleContext previous, LocaleContext current) throws Exception {
LocaleContextHolder.setLocaleContext(current);
ContextSnapshot snapshot = ContextSnapshotFactory.builder()