Skip to content

Commit 7162faa

Browse files
committed
Merge branch '6.0.x'
2 parents 1901b70 + f50b230 commit 7162faa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,7 +25,8 @@
2525
*
2626
* <p>Customizers are created by {@link ContextCustomizerFactory} implementations.
2727
*
28-
* <p>Implementations must implement correct {@code equals} and {@code hashCode}
28+
* <p><strong>WARNING</strong>: implementations must implement correct
29+
* {@link Object#equals(Object) equals} and {@link Object#hashCode() hashCode}
2930
* methods since customizers form part of the {@link MergedContextConfiguration}
3031
* which is used as a cache key.
3132
*

0 commit comments

Comments
 (0)