We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3084a2 commit 341a6b4Copy full SHA for 341a6b4
1 file changed
config/src/test/java/org/springframework/security/SerializationSamples.java
@@ -285,6 +285,7 @@ final class SerializationSamples {
285
SecurityContext securityContext = new SecurityContextImpl(authentication);
286
287
instancioByClassName.put(OneTimeTokenAuthenticationToken.class, () -> {
288
+ @SuppressWarnings("removal")
289
InstancioOfClassApi<?> instancio = Instancio.of(OneTimeTokenAuthenticationToken.class);
290
instancio.supply(Select.all(OneTimeTokenAuthenticationToken.class),
291
(r) -> applyDetails(new OneTimeTokenAuthenticationToken("token")));
0 commit comments