Skip to content

Commit 38356fd

Browse files
jayychoirwinch
authored andcommitted
Remove compiler warnings for spring-security-webauthn
Closes gh-18442 Signed-off-by: Jay Choi <jayyoungchoi22@gmail.com>
1 parent 442d72e commit 38356fd

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

webauthn/spring-security-webauthn.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
plugins {
2+
id 'compile-warnings-error'
23
id 'security-nullability'
34
}
45

webauthn/src/test/java/org/springframework/security/web/webauthn/authentication/WebAuthnAuthenticationFilterTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ void setup() {
101101
}
102102

103103
@Test
104+
@SuppressWarnings("removal")
104105
void setConverterWhenNullThenIllegalArgumentException() {
105106
assertThatIllegalArgumentException()
106107
.isThrownBy(() -> this.filter.setConverter((GenericHttpMessageConverter<Object>) null));

webauthn/src/test/java/org/springframework/security/web/webauthn/jackson/CredProtectAuthenticationExtensionsClientInputJackson2Tests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
*
3030
* @author Rob Winch
3131
*/
32+
@SuppressWarnings("removal")
3233
class CredProtectAuthenticationExtensionsClientInputJackson2Tests {
3334

3435
private ObjectMapper mapper;

webauthn/src/test/java/org/springframework/security/web/webauthn/jackson/Jackson2Tests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444

4545
import static org.assertj.core.api.Assertions.assertThat;
4646

47+
@SuppressWarnings("removal")
4748
class Jackson2Tests {
4849

4950
private ObjectMapper mapper;

0 commit comments

Comments
 (0)