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

View File

@ -1,4 +1,5 @@
plugins {
id 'compile-warnings-error'
id 'security-nullability'
}

View File

@ -101,6 +101,7 @@ class WebAuthnAuthenticationFilterTests {
}
@Test
@SuppressWarnings("removal")
void setConverterWhenNullThenIllegalArgumentException() {
assertThatIllegalArgumentException()
.isThrownBy(() -> this.filter.setConverter((GenericHttpMessageConverter<Object>) null));

View File

@ -29,6 +29,7 @@ import org.springframework.security.web.webauthn.api.ImmutableAuthenticationExte
*
* @author Rob Winch
*/
@SuppressWarnings("removal")
class CredProtectAuthenticationExtensionsClientInputJackson2Tests {
private ObjectMapper mapper;

View File

@ -44,6 +44,7 @@ import org.springframework.security.web.webauthn.api.UserVerificationRequirement
import static org.assertj.core.api.Assertions.assertThat;
@SuppressWarnings("removal")
class Jackson2Tests {
private ObjectMapper mapper;