From d0d5730f7f341c84feb068aa255a170aea3202b4 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 16 Nov 2022 10:32:37 +0100 Subject: [PATCH] Suppress "removal" warnings in CronSequenceGeneratorTests --- .../scheduling/support/CronSequenceGeneratorTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-context/src/test/java/org/springframework/scheduling/support/CronSequenceGeneratorTests.java b/spring-context/src/test/java/org/springframework/scheduling/support/CronSequenceGeneratorTests.java index fff8b6eeb1..73895c8619 100644 --- a/spring-context/src/test/java/org/springframework/scheduling/support/CronSequenceGeneratorTests.java +++ b/spring-context/src/test/java/org/springframework/scheduling/support/CronSequenceGeneratorTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,7 +27,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException * @author Juergen Hoeller * @author Ruslan Sibgatullin */ -@SuppressWarnings("deprecation") +@SuppressWarnings({ "removal", "deprecation" }) public class CronSequenceGeneratorTests { @Test