1
0
mirror of synced 2026-05-22 13:23:17 +00:00

Remove compiler warnings for spring-security-webauthn

Closes gh-18442

Signed-off-by: Jay Choi <jayyoungchoi22@gmail.com>
This commit is contained in:
Jay Choi
2026-01-22 19:23:03 +09:00
committed by Rob Winch
parent 442d72ec12
commit 38356fda10
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -1,4 +1,5 @@
plugins { plugins {
id 'compile-warnings-error'
id 'security-nullability' id 'security-nullability'
} }
@@ -101,6 +101,7 @@ class WebAuthnAuthenticationFilterTests {
} }
@Test @Test
@SuppressWarnings("removal")
void setConverterWhenNullThenIllegalArgumentException() { void setConverterWhenNullThenIllegalArgumentException() {
assertThatIllegalArgumentException() assertThatIllegalArgumentException()
.isThrownBy(() -> this.filter.setConverter((GenericHttpMessageConverter<Object>) null)); .isThrownBy(() -> this.filter.setConverter((GenericHttpMessageConverter<Object>) null));
@@ -29,6 +29,7 @@ import org.springframework.security.web.webauthn.api.ImmutableAuthenticationExte
* *
* @author Rob Winch * @author Rob Winch
*/ */
@SuppressWarnings("removal")
class CredProtectAuthenticationExtensionsClientInputJackson2Tests { class CredProtectAuthenticationExtensionsClientInputJackson2Tests {
private ObjectMapper mapper; private ObjectMapper mapper;
@@ -44,6 +44,7 @@ import org.springframework.security.web.webauthn.api.UserVerificationRequirement
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
@SuppressWarnings("removal")
class Jackson2Tests { class Jackson2Tests {
private ObjectMapper mapper; private ObjectMapper mapper;