Browse Source

Merge branch '6.0.x'

pull/30838/head
Sam Brannen 1 year ago
parent
commit
7162faaa4d
  1. 5
      spring-test/src/main/java/org/springframework/test/context/ContextCustomizer.java

5
spring-test/src/main/java/org/springframework/test/context/ContextCustomizer.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 the original author or authors.
* Copyright 2002-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.
@ -25,7 +25,8 @@ import org.springframework.context.ConfigurableApplicationContext; @@ -25,7 +25,8 @@ import org.springframework.context.ConfigurableApplicationContext;
*
* <p>Customizers are created by {@link ContextCustomizerFactory} implementations.
*
* <p>Implementations must implement correct {@code equals} and {@code hashCode}
* <p><strong>WARNING</strong>: implementations must implement correct
* {@link Object#equals(Object) equals} and {@link Object#hashCode() hashCode}
* methods since customizers form part of the {@link MergedContextConfiguration}
* which is used as a cache key.
*

Loading…
Cancel
Save