mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-02-08 22:44:35 +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:
parent
442d72ec12
commit
38356fda10
@ -1,4 +1,5 @@
|
||||
plugins {
|
||||
id 'compile-warnings-error'
|
||||
id 'security-nullability'
|
||||
}
|
||||
|
||||
|
||||
@ -101,6 +101,7 @@ class WebAuthnAuthenticationFilterTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("removal")
|
||||
void setConverterWhenNullThenIllegalArgumentException() {
|
||||
assertThatIllegalArgumentException()
|
||||
.isThrownBy(() -> this.filter.setConverter((GenericHttpMessageConverter<Object>) null));
|
||||
|
||||
@ -29,6 +29,7 @@ import org.springframework.security.web.webauthn.api.ImmutableAuthenticationExte
|
||||
*
|
||||
* @author Rob Winch
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
class CredProtectAuthenticationExtensionsClientInputJackson2Tests {
|
||||
|
||||
private ObjectMapper mapper;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user