Polish contribution

See gh-36251
This commit is contained in:
Stephane Nicoll
2023-07-17 13:33:23 +02:00
parent bc2899c1ef
commit 60df7e3bce
5 changed files with 8 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2023 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.
@@ -38,8 +38,8 @@ import org.springframework.util.StringUtils;
* @author Dave Syer
* @author Phillip Webb
* @since 1.0.0
*
* @deprecated since 3.2 for removal in 3.4 as property based initialization is no longer recommended
* @deprecated since 3.2.0 for removal in 3.4.0 as property based initialization is no
* longer recommended
*/
@Deprecated(since = "3.2.0", forRemoval = true)
public class DelegatingApplicationContextInitializer

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2023 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.
@@ -40,8 +40,8 @@ import org.springframework.util.StringUtils;
* @author Dave Syer
* @author Phillip Webb
* @since 1.0.0
*
* @deprecated since 3.2 for removal in 3.4 as property based initialization is no longer recommended
* @deprecated since 3.2.0 for removal in 3.4.0 as property based initialization is no
* longer recommended
*/
@Deprecated(since = "3.2.0", forRemoval = true)
public class DelegatingApplicationListener implements ApplicationListener<ApplicationEvent>, Ordered {

View File

@@ -35,10 +35,9 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
* Tests for {@link DelegatingApplicationContextInitializer}.
*
* @author Phillip Webb
*
* @deprecated since 3.2 for removal in 3.4 as property based initialization is no longer recommended
*/
@Deprecated(since = "3.2.0", forRemoval = true)
@SuppressWarnings("removal")
class DelegatingApplicationContextInitializerTests {
private final DelegatingApplicationContextInitializer initializer = new DelegatingApplicationContextInitializer();

View File

@@ -36,10 +36,9 @@ import static org.assertj.core.api.Assertions.assertThat;
* Tests for {@link DelegatingApplicationListener}.
*
* @author Dave Syer
*
* @deprecated since 3.2 for removal in 3.4 as property based initialization is no longer recommended
*/
@Deprecated(since = "3.2.0", forRemoval = true)
@SuppressWarnings("removal")
class DelegatingApplicationListenerTests {
private final DelegatingApplicationListener listener = new DelegatingApplicationListener();