Merge branch '3.3.x' into 3.4.x

Closes gh-44992
This commit is contained in:
Phillip Webb 2025-04-03 17:52:42 -07:00
commit c96835bc9d
130 changed files with 137 additions and 137 deletions

View File

@ -57,7 +57,7 @@ public class CloudFoundryWebEndpointDiscoverer extends WebEndpointDiscoverer {
* @param endpointPathMappers the endpoint path mappers * @param endpointPathMappers the endpoint path mappers
* @param invokerAdvisors invoker advisors to apply * @param invokerAdvisors invoker advisors to apply
* @param endpointFilters endpoint filters to apply * @param endpointFilters endpoint filters to apply
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link #CloudFoundryWebEndpointDiscoverer(ApplicationContext, ParameterValueMapper, EndpointMediaTypes, List, Collection, Collection, Collection)} * {@link #CloudFoundryWebEndpointDiscoverer(ApplicationContext, ParameterValueMapper, EndpointMediaTypes, List, Collection, Collection, Collection)}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -37,7 +37,7 @@ public enum EndpointExposure {
/** /**
* Exposed on Cloud Foundry over `/cloudfoundryapplication`. * Exposed on Cloud Foundry over `/cloudfoundryapplication`.
* @since 2.6.4 * @since 2.6.4
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of using * @deprecated since 3.4.0 for removal in 4.0.0 in favor of using
* {@link EndpointExposure#WEB} * {@link EndpointExposure#WEB}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -30,7 +30,7 @@ public interface OtlpTracingConnectionDetails extends ConnectionDetails {
/** /**
* Address to where tracing will be published. * Address to where tracing will be published.
* @return the address to where tracing will be published * @return the address to where tracing will be published
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of {@link #getUrl(Transport)} * @deprecated since 3.4.0 for removal in 4.0.0 in favor of {@link #getUrl(Transport)}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)
default String getUrl() { default String getUrl() {

View File

@ -41,7 +41,7 @@ public abstract class AbstractExposableEndpoint<O extends Operation> implements
* @param id the endpoint id * @param id the endpoint id
* @param enabledByDefault if the endpoint is enabled by default * @param enabledByDefault if the endpoint is enabled by default
* @param operations the endpoint operations * @param operations the endpoint operations
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link #AbstractExposableEndpoint(EndpointId, Access, Collection)} * {@link #AbstractExposableEndpoint(EndpointId, Access, Collection)}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -37,7 +37,7 @@ public interface ExposableEndpoint<O extends Operation> {
/** /**
* Returns if the endpoint is enabled by default. * Returns if the endpoint is enabled by default.
* @return if the endpoint is enabled by default * @return if the endpoint is enabled by default
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link #getDefaultAccess()} * {@link #getDefaultAccess()}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -48,7 +48,7 @@ public abstract class AbstractDiscoveredEndpoint<O extends Operation> extends Ab
* @param id the ID of the endpoint * @param id the ID of the endpoint
* @param enabledByDefault if the endpoint is enabled by default * @param enabledByDefault if the endpoint is enabled by default
* @param operations the endpoint operations * @param operations the endpoint operations
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link #AbstractDiscoveredEndpoint(EndpointDiscoverer, Object, EndpointId, Access, Collection)} * {@link #AbstractDiscoveredEndpoint(EndpointDiscoverer, Object, EndpointId, Access, Collection)}
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")

View File

@ -66,7 +66,7 @@ public @interface Endpoint {
/** /**
* If the endpoint should be enabled or disabled by default. * If the endpoint should be enabled or disabled by default.
* @return {@code true} if the endpoint is enabled by default * @return {@code true} if the endpoint is enabled by default
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of {@link #defaultAccess()} * @deprecated since 3.4.0 for removal in 4.0.0 in favor of {@link #defaultAccess()}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)
boolean enableByDefault() default true; boolean enableByDefault() default true;

View File

@ -90,7 +90,7 @@ public abstract class EndpointDiscoverer<E extends ExposableEndpoint<O>, O exten
* @param parameterValueMapper the parameter value mapper * @param parameterValueMapper the parameter value mapper
* @param invokerAdvisors invoker advisors to apply * @param invokerAdvisors invoker advisors to apply
* @param endpointFilters endpoint filters to apply * @param endpointFilters endpoint filters to apply
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link #EndpointDiscoverer(ApplicationContext, ParameterValueMapper, Collection, Collection, Collection)} * {@link #EndpointDiscoverer(ApplicationContext, ParameterValueMapper, Collection, Collection, Collection)}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)
@ -388,7 +388,7 @@ public abstract class EndpointDiscoverer<E extends ExposableEndpoint<O>, O exten
* @param enabledByDefault if the endpoint is enabled by default * @param enabledByDefault if the endpoint is enabled by default
* @param operations the endpoint operations * @param operations the endpoint operations
* @return a created endpoint (a {@link DiscoveredEndpoint} is recommended) * @return a created endpoint (a {@link DiscoveredEndpoint} is recommended)
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link #createEndpoint(Object, EndpointId, Access, Collection)} * {@link #createEndpoint(Object, EndpointId, Access, Collection)}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -51,7 +51,7 @@ public @interface JmxEndpoint {
/** /**
* If the endpoint should be enabled or disabled by default. * If the endpoint should be enabled or disabled by default.
* @return {@code true} if the endpoint is enabled by default * @return {@code true} if the endpoint is enabled by default
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)
@AliasFor(annotation = Endpoint.class) @AliasFor(annotation = Endpoint.class)

View File

@ -54,7 +54,7 @@ public class JmxEndpointDiscoverer extends EndpointDiscoverer<ExposableJmxEndpoi
* @param parameterValueMapper the parameter value mapper * @param parameterValueMapper the parameter value mapper
* @param invokerAdvisors invoker advisors to apply * @param invokerAdvisors invoker advisors to apply
* @param endpointFilters endpoint filters to apply * @param endpointFilters endpoint filters to apply
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link #JmxEndpointDiscoverer(ApplicationContext, ParameterValueMapper, Collection, Collection, Collection)} * {@link #JmxEndpointDiscoverer(ApplicationContext, ParameterValueMapper, Collection, Collection, Collection)}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -51,7 +51,7 @@ public @interface WebEndpoint {
/** /**
* If the endpoint should be enabled or disabled by default. * If the endpoint should be enabled or disabled by default.
* @return {@code true} if the endpoint is enabled by default * @return {@code true} if the endpoint is enabled by default
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of {@link #defaultAccess()}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)
@AliasFor(annotation = Endpoint.class) @AliasFor(annotation = Endpoint.class)

View File

@ -67,7 +67,7 @@ public class WebEndpointDiscoverer extends EndpointDiscoverer<ExposableWebEndpoi
* @param endpointPathMappers the endpoint path mappers * @param endpointPathMappers the endpoint path mappers
* @param invokerAdvisors invoker advisors to apply * @param invokerAdvisors invoker advisors to apply
* @param filters filters to apply * @param filters filters to apply
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link #WebEndpointDiscoverer(ApplicationContext, ParameterValueMapper, EndpointMediaTypes, List, List, Collection, Collection, Collection)} * {@link #WebEndpointDiscoverer(ApplicationContext, ParameterValueMapper, EndpointMediaTypes, List, List, Collection, Collection, Collection)}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -101,7 +101,7 @@ public final class DefaultJmsListenerContainerFactoryConfigurer {
* Set the {@link ObservationRegistry} to use. * Set the {@link ObservationRegistry} to use.
* @param observationRegistry the {@link ObservationRegistry} * @param observationRegistry the {@link ObservationRegistry}
* @since 3.2.1 * @since 3.2.1
* @deprecated since 3.3.10 for removal in 3.6.0 as this should have been package * @deprecated since 3.3.10 for removal in 4.0.0 as this should have been package
* private * private
*/ */
@Deprecated(since = "3.3.10", forRemoval = true) @Deprecated(since = "3.3.10", forRemoval = true)

View File

@ -159,7 +159,7 @@ public abstract class JpaBaseConfiguration {
/** /**
* Return the vendor-specific properties. * Return the vendor-specific properties.
* @return the vendor properties * @return the vendor properties
* @deprecated since 3.4.4 for removal in 3.6.0 in favor of * @deprecated since 3.4.4 for removal in 4.0.0 in favor of
* {@link #getVendorProperties(DataSource)} * {@link #getVendorProperties(DataSource)}
*/ */
@Deprecated(since = "3.4.4", forRemoval = true) @Deprecated(since = "3.4.4", forRemoval = true)

View File

@ -29,7 +29,7 @@ import org.springframework.test.context.ApplicationContextFailureProcessor;
* @author Phillip Webb * @author Phillip Webb
* @author Scott Frederick * @author Scott Frederick
* @since 3.0.0 * @since 3.0.0
* @deprecated in 3.2.11 for removal in 3.6.0 * @deprecated in 3.2.11 for removal in 4.0.0
*/ */
@Deprecated(since = "3.2.11", forRemoval = true) @Deprecated(since = "3.2.11", forRemoval = true)
public class ConditionReportApplicationContextFailureProcessor implements ApplicationContextFailureProcessor { public class ConditionReportApplicationContextFailureProcessor implements ApplicationContextFailureProcessor {

View File

@ -35,7 +35,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* *
* @author Phillip Webb * @author Phillip Webb
* @author Scott Frederick * @author Scott Frederick
* @deprecated since 3.2.11 for removal in 3.6.0 * @deprecated since 3.2.11 for removal in 4.0.0
*/ */
@ExtendWith(OutputCaptureExtension.class) @ExtendWith(OutputCaptureExtension.class)
@Deprecated(since = "3.2.11", forRemoval = true) @Deprecated(since = "3.2.11", forRemoval = true)

View File

@ -121,7 +121,7 @@ public abstract class AbstractApplicationContextRunner<SELF extends AbstractAppl
* @param contextFactory the factory used to create the actual context * @param contextFactory the factory used to create the actual context
* @param instanceFactory the factory used to create new instance of the runner * @param instanceFactory the factory used to create new instance of the runner
* @since 2.6.0 * @since 2.6.0
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link #AbstractApplicationContextRunner(Function, Supplier, Class...)} * {@link #AbstractApplicationContextRunner(Function, Supplier, Class...)}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -23,7 +23,7 @@ import org.springframework.util.ObjectUtils;
* *
* @author Phillip Webb * @author Phillip Webb
* @see DefinitionsParser * @see DefinitionsParser
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -41,7 +41,7 @@ import org.springframework.util.StringUtils;
* *
* @author Phillip Webb * @author Phillip Webb
* @author Stephane Nicoll * @author Stephane Nicoll
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -91,7 +91,7 @@ import org.springframework.test.context.junit4.SpringRunner;
* @author Phillip Webb * @author Phillip Webb
* @since 1.4.0 * @since 1.4.0
* @see MockitoPostProcessor * @see MockitoPostProcessor
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link org.springframework.test.context.bean.override.mockito.MockitoBean} * {@link org.springframework.test.context.bean.override.mockito.MockitoBean}
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")

View File

@ -33,7 +33,7 @@ import java.lang.annotation.Target;
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.4.0 * @since 1.4.0
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link org.springframework.test.context.bean.override.mockito.MockitoBean} * {@link org.springframework.test.context.bean.override.mockito.MockitoBean}
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")

View File

@ -37,7 +37,7 @@ import static org.mockito.Mockito.mock;
* A complete definition that can be used to create a Mockito mock. * A complete definition that can be used to create a Mockito mock.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -35,7 +35,7 @@ import org.springframework.util.Assert;
* @author Phillip Webb * @author Phillip Webb
* @since 1.4.0 * @since 1.4.0
* @see ResetMocksTestExecutionListener * @see ResetMocksTestExecutionListener
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link org.springframework.test.context.bean.override.mockito.MockReset} * {@link org.springframework.test.context.bean.override.mockito.MockReset}
*/ */

View File

@ -28,7 +28,7 @@ import org.springframework.test.context.MergedContextConfiguration;
* A {@link ContextCustomizer} to add Mockito support. * A {@link ContextCustomizer} to add Mockito support.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -27,7 +27,7 @@ import org.springframework.test.context.TestContextAnnotationUtils;
* A {@link ContextCustomizerFactory} to add Mockito support. * A {@link ContextCustomizerFactory} to add Mockito support.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -78,7 +78,7 @@ import org.springframework.util.StringUtils;
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Andreas Neiser * @author Andreas Neiser
* @since 1.4.0 * @since 1.4.0
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's * @deprecated since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's
* {@link MockitoBean} and {@link MockitoSpyBean} support * {@link MockitoBean} and {@link MockitoSpyBean} support
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")

View File

@ -48,7 +48,7 @@ import org.springframework.util.ReflectionUtils.FieldCallback;
* @author Moritz Halbritter * @author Moritz Halbritter
* @since 1.4.2 * @since 1.4.2
* @see ResetMocksTestExecutionListener * @see ResetMocksTestExecutionListener
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's support for * @deprecated since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's support for
* {@link MockitoBean} and {@link MockitoSpyBean}. * {@link MockitoBean} and {@link MockitoSpyBean}.
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")

View File

@ -34,7 +34,7 @@ import org.springframework.core.annotation.MergedAnnotations;
* @author Phillip Webb * @author Phillip Webb
* @author Stephane Nicoll * @author Stephane Nicoll
* @see Definition * @see Definition
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -43,7 +43,7 @@ import org.springframework.util.ClassUtils;
* @author Phillip Webb * @author Phillip Webb
* @since 1.4.0 * @since 1.4.0
* @see MockitoTestExecutionListener * @see MockitoTestExecutionListener
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link org.springframework.test.context.bean.override.mockito.MockitoResetTestExecutionListener} * {@link org.springframework.test.context.bean.override.mockito.MockitoResetTestExecutionListener}
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")

View File

@ -31,7 +31,7 @@ import org.springframework.util.Assert;
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @since 2.4.0 * @since 2.4.0
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's * @deprecated since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's
* {@link MockitoBean} and {@link MockitoSpyBean} * {@link MockitoBean} and {@link MockitoSpyBean}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -89,7 +89,7 @@ import org.springframework.test.context.junit4.SpringRunner;
* @author Phillip Webb * @author Phillip Webb
* @since 1.4.0 * @since 1.4.0
* @see MockitoPostProcessor * @see MockitoPostProcessor
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link org.springframework.test.context.bean.override.mockito.MockitoSpyBean} * {@link org.springframework.test.context.bean.override.mockito.MockitoSpyBean}
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")

View File

@ -33,7 +33,7 @@ import java.lang.annotation.Target;
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.4.0 * @since 1.4.0
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link org.springframework.test.context.bean.override.mockito.MockitoSpyBean} * {@link org.springframework.test.context.bean.override.mockito.MockitoSpyBean}
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")

View File

@ -37,7 +37,7 @@ import static org.mockito.Mockito.mock;
* A complete definition that can be used to create a Mockito spy. * A complete definition that can be used to create a Mockito spy.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -17,7 +17,7 @@
/** /**
* Mockito integration for Spring Boot tests. * Mockito integration for Spring Boot tests.
* <p> * <p>
* Deprecated since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's * Deprecated since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's
* {@link org.springframework.test.context.bean.override.mockito.MockitoBean} and * {@link org.springframework.test.context.bean.override.mockito.MockitoBean} and
* {@link org.springframework.test.context.bean.override.mockito.MockitoSpyBean} * {@link org.springframework.test.context.bean.override.mockito.MockitoSpyBean}
*/ */

View File

@ -1060,7 +1060,7 @@ public class TestRestTemplate {
* Create a new {@link CustomHttpComponentsClientHttpRequestFactory} instance. * Create a new {@link CustomHttpComponentsClientHttpRequestFactory} instance.
* @param httpClientOptions the {@link HttpClient} options * @param httpClientOptions the {@link HttpClient} options
* @param settings the settings to apply * @param settings the settings to apply
* @deprecated since 3.4.0 for removal in 3.6.0 in favor of * @deprecated since 3.4.0 for removal in 4.0.0 in favor of
* {@link #CustomHttpComponentsClientHttpRequestFactory(HttpClientOption[], ClientHttpRequestFactorySettings)} * {@link #CustomHttpComponentsClientHttpRequestFactory(HttpClientOption[], ClientHttpRequestFactorySettings)}
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -20,7 +20,7 @@ package org.springframework.boot.test.mock.mockito;
* Concrete implementation of {@link AbstractMockBeanOnGenericTests}. * Concrete implementation of {@link AbstractMockBeanOnGenericTests}.
* *
* @author Madhura Bhave * @author Madhura Bhave
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -31,7 +31,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* @param <T> type of thing * @param <T> type of thing
* @param <U> type of something * @param <U> type of something
* @author Madhura Bhave * @author Madhura Bhave
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -36,7 +36,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
* Tests for {@link DefinitionsParser}. * Tests for {@link DefinitionsParser}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -42,7 +42,7 @@ import static org.mockito.Mockito.mock;
* Tests for application context caching when using {@link MockBean @MockBean}. * Tests for application context caching when using {@link MockBean @MockBean}.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.Mockito.mock;
* Test {@link MockBean @MockBean} for a factory bean. * Test {@link MockBean @MockBean} for a factory bean.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -35,7 +35,7 @@ import static org.mockito.BDDMockito.given;
* existing beans. * existing beans.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.given;
* instances. * instances.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@ExtendWith(SpringExtension.class) @ExtendWith(SpringExtension.class)

View File

@ -35,7 +35,7 @@ import static org.mockito.BDDMockito.given;
* used to replace existing beans. * used to replace existing beans.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@ExtendWith(SpringExtension.class) @ExtendWith(SpringExtension.class)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.given;
* used to inject new mock instances. * used to inject new mock instances.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@ExtendWith(SpringExtension.class) @ExtendWith(SpringExtension.class)

View File

@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* {@link ContextHierarchy @ContextHierarchy}. * {@link ContextHierarchy @ContextHierarchy}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -38,7 +38,7 @@ import static org.mockito.BDDMockito.given;
* *
* @author Phillip Webb * @author Phillip Webb
* @see <a href="https://github.com/spring-projects/spring-boot/issues/5724">gh-5724</a> * @see <a href="https://github.com/spring-projects/spring-boot/issues/5724">gh-5724</a>
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.given;
* Test {@link MockBean @MockBean} on a test class can be used to replace existing beans. * Test {@link MockBean @MockBean} on a test class can be used to replace existing beans.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.given;
* instances. * instances.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -36,7 +36,7 @@ import static org.mockito.BDDMockito.given;
* *
* @author Phillip Webb * @author Phillip Webb
* @see MockBeanOnTestFieldForExistingBeanIntegrationTests * @see MockBeanOnTestFieldForExistingBeanIntegrationTests
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -27,7 +27,7 @@ import org.springframework.context.annotation.Import;
* config to trigger caching. * config to trigger caching.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.given;
* *
* @author Phillip Webb * @author Phillip Webb
* @see MockBeanOnTestFieldForExistingBeanCacheIntegrationTests * @see MockBeanOnTestFieldForExistingBeanCacheIntegrationTests
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -39,7 +39,7 @@ import static org.mockito.BDDMockito.then;
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.given;
* instances. * instances.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -45,7 +45,7 @@ import static org.mockito.Mockito.times;
* *
* @author Phillip Webb * @author Phillip Webb
* @see <a href="https://github.com/spring-projects/spring-boot/issues/5837">5837</a> * @see <a href="https://github.com/spring-projects/spring-boot/issues/5837">5837</a>
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -33,7 +33,7 @@ import static org.mockito.BDDMockito.given;
* Tests for a mock bean where the mocked interface has an async method. * Tests for a mock bean where the mocked interface has an async method.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -36,7 +36,7 @@ import static org.mockito.BDDMockito.given;
* {@link DirtiesContext @DirtiesContext} and {@link ClassMode#BEFORE_EACH_TEST_METHOD}. * {@link DirtiesContext @DirtiesContext} and {@link ClassMode#BEFORE_EACH_TEST_METHOD}.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.given;
* instances. * instances.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -31,7 +31,7 @@ import static org.mockito.BDDMockito.given;
* Tests for a mock bean where the class being mocked uses field injection. * Tests for a mock bean where the class being mocked uses field injection.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -30,7 +30,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @see <a href="https://github.com/spring-projects/spring-boot/issues/27693">gh-27693</a> * @see <a href="https://github.com/spring-projects/spring-boot/issues/27693">gh-27693</a>
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -33,7 +33,7 @@ import static org.mockito.Mockito.mock;
* Tests for {@link MockDefinition}. * Tests for {@link MockDefinition}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -28,7 +28,7 @@ import static org.mockito.Mockito.withSettings;
* Tests for {@link MockReset}. * Tests for {@link MockReset}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* Tests for {@link MockitoContextCustomizerFactory}. * Tests for {@link MockitoContextCustomizerFactory}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -33,7 +33,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* Tests for {@link MockitoContextCustomizer}. * Tests for {@link MockitoContextCustomizer}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -50,7 +50,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Andreas Neiser * @author Andreas Neiser
* @author Madhura Bhave * @author Madhura Bhave
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -49,7 +49,7 @@ import static org.mockito.BDDMockito.given;
* Integration tests for {@link MockitoTestExecutionListener}. * Integration tests for {@link MockitoTestExecutionListener}.
* *
* @author Moritz Halbritter * @author Moritz Halbritter
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -41,7 +41,7 @@ import static org.mockito.Mockito.mock;
* Tests for {@link MockitoTestExecutionListener}. * Tests for {@link MockitoTestExecutionListener}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -40,7 +40,7 @@ import static org.mockito.BDDMockito.then;
* Tests for {@link QualifierDefinition}. * Tests for {@link QualifierDefinition}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -39,7 +39,7 @@ import static org.mockito.Mockito.mock;
* *
* @author Phillip Webb * @author Phillip Webb
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* Tests for {@link SpringBootMockResolver}. * Tests for {@link SpringBootMockResolver}.
* *
* @author Moritz Halbritter * @author Moritz Halbritter
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.then;
* beans. * beans.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.then;
* instances. * instances.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -35,7 +35,7 @@ import static org.mockito.BDDMockito.then;
* to replace existing beans. * to replace existing beans.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.then;
* to inject new spy instances. * to inject new spy instances.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* {@link ContextHierarchy @ContextHierarchy}. * {@link ContextHierarchy @ContextHierarchy}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -33,7 +33,7 @@ import static org.mockito.BDDMockito.then;
* Test {@link SpyBean @SpyBean} on a test class can be used to replace existing beans. * Test {@link SpyBean @SpyBean} on a test class can be used to replace existing beans.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -33,7 +33,7 @@ import static org.mockito.BDDMockito.then;
* Test {@link SpyBean @SpyBean} on a test class can be used to inject new spy instances. * Test {@link SpyBean @SpyBean} on a test class can be used to inject new spy instances.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -36,7 +36,7 @@ import static org.mockito.BDDMockito.then;
* *
* @author Phillip Webb * @author Phillip Webb
* @see SpyBeanOnTestFieldForExistingBeanIntegrationTests * @see SpyBeanOnTestFieldForExistingBeanIntegrationTests
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -27,7 +27,7 @@ import org.springframework.context.annotation.Import;
* config to trigger caching. * config to trigger caching.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.then;
* *
* @author Phillip Webb * @author Phillip Webb
* @see SpyBeanOnTestFieldForExistingBeanCacheIntegrationTests * @see SpyBeanOnTestFieldForExistingBeanCacheIntegrationTests
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -38,7 +38,7 @@ import static org.mockito.BDDMockito.then;
* bean while preserving qualifiers. * bean while preserving qualifiers.
* *
* @author Andreas Neiser * @author Andreas Neiser
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -31,7 +31,7 @@ import static org.mockito.BDDMockito.then;
* beans with circular dependencies. * beans with circular dependencies.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -38,7 +38,7 @@ import static org.mockito.BDDMockito.then;
* *
* @author Phillip Webb * @author Phillip Webb
* @see SpyBeanOnTestFieldForExistingBeanCacheIntegrationTests * @see SpyBeanOnTestFieldForExistingBeanCacheIntegrationTests
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* bean with generics that's produced by a factory bean. * bean with generics that's produced by a factory bean.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -37,7 +37,7 @@ import static org.mockito.BDDMockito.then;
* instance when there are multiple candidates and one is primary. * instance when there are multiple candidates and one is primary.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.then;
* instances. * instances.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -43,7 +43,7 @@ import static org.mockito.Mockito.reset;
* *
* @author Phillip Webb * @author Phillip Webb
* @see <a href="https://github.com/spring-projects/spring-boot/issues/5837">5837</a> * @see <a href="https://github.com/spring-projects/spring-boot/issues/5837">5837</a>
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -43,7 +43,7 @@ import static org.mockito.BDDMockito.then;
* *
* @author Phillip Webb * @author Phillip Webb
* @see <a href="https://github.com/spring-projects/spring-boot/issues/5837">5837</a> * @see <a href="https://github.com/spring-projects/spring-boot/issues/5837">5837</a>
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -35,7 +35,7 @@ import static org.mockito.BDDMockito.then;
* {@link DirtiesContext @DirtiesContext} and {@link ClassMode#BEFORE_EACH_TEST_METHOD}. * {@link DirtiesContext @DirtiesContext} and {@link ClassMode#BEFORE_EACH_TEST_METHOD}.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.then;
* Tests for {@link SpyBean @SpyBean} with a JDK proxy. * Tests for {@link SpyBean @SpyBean} with a JDK proxy.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* *
* @author Phillip Webb * @author Phillip Webb
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -34,7 +34,7 @@ import static org.mockito.Mockito.mock;
* Tests for {@link SpyDefinition}. * Tests for {@link SpyDefinition}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -25,7 +25,7 @@ import org.springframework.beans.factory.annotation.Qualifier;
* Custom qualifier for testing. * Custom qualifier for testing.
* *
* @author Stephane Nicoll * @author Stephane Nicoll
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)
@Qualifier @Qualifier

View File

@ -20,7 +20,7 @@ package org.springframework.boot.test.mock.mockito.example;
* An {@link ExampleService} that uses a custom qualifier. * An {@link ExampleService} that uses a custom qualifier.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -20,7 +20,7 @@ package org.springframework.boot.test.mock.mockito.example;
* Example extra interface for mocking tests. * Example extra interface for mocking tests.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)
public interface ExampleExtraInterface { public interface ExampleExtraInterface {

View File

@ -21,7 +21,7 @@ package org.springframework.boot.test.mock.mockito.example;
* *
* @param <T> the generic type * @param <T> the generic type
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)
public interface ExampleGenericService<T> { public interface ExampleGenericService<T> {

View File

@ -20,7 +20,7 @@ package org.springframework.boot.test.mock.mockito.example;
* Example bean for mocking tests that calls {@link ExampleGenericService}. * Example bean for mocking tests that calls {@link ExampleGenericService}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -20,7 +20,7 @@ package org.springframework.boot.test.mock.mockito.example;
* Example bean for mocking tests that calls {@link ExampleGenericService}. * Example bean for mocking tests that calls {@link ExampleGenericService}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -20,7 +20,7 @@ package org.springframework.boot.test.mock.mockito.example;
* Example service interface for mocking tests. * Example service interface for mocking tests.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)
public interface ExampleService { public interface ExampleService {

View File

@ -20,7 +20,7 @@ package org.springframework.boot.test.mock.mockito.example;
* Example bean for mocking tests that calls {@link ExampleService}. * Example bean for mocking tests that calls {@link ExampleService}.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

View File

@ -22,7 +22,7 @@ import org.springframework.stereotype.Service;
* An {@link ExampleService} that always throws an exception. * An {@link ExampleService} that always throws an exception.
* *
* @author Phillip Webb * @author Phillip Webb
* @deprecated since 3.4.0 for removal in 3.6.0 * @deprecated since 3.4.0 for removal in 4.0.0
*/ */
@SuppressWarnings("removal") @SuppressWarnings("removal")
@Deprecated(since = "3.4.0", forRemoval = true) @Deprecated(since = "3.4.0", forRemoval = true)

Some files were not shown because too many files have changed in this diff Show More