Remove compiler warnings for spring-security-webauthn
Closes gh-18442 Signed-off-by: Jay Choi <jayyoungchoi22@gmail.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
plugins {
|
plugins {
|
||||||
|
id 'compile-warnings-error'
|
||||||
id 'security-nullability'
|
id 'security-nullability'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
@@ -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));
|
||||||
|
|||||||
+1
@@ -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;
|
||||||
|
|||||||
+1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user