Fix typo in cache abstraction chapter
Closes gh-22256
This commit is contained in:
committed by
Stephane Nicoll
parent
7a9e2f5edc
commit
04ce61968d
@@ -6896,7 +6896,7 @@ abstraction uses a simple `KeyGenerator` based on the following algorithm:
|
|||||||
|
|
||||||
* If no params are given, return `SimpleKey.EMPTY`.
|
* If no params are given, return `SimpleKey.EMPTY`.
|
||||||
* If only one param is given, return that instance.
|
* If only one param is given, return that instance.
|
||||||
* If more the one param is given, return a `SimpleKey` that contains all parameters.
|
* If more than one param is given, return a `SimpleKey` that contains all parameters.
|
||||||
|
|
||||||
This approach works well for most use-cases, as long as parameters have natural keys
|
This approach works well for most use-cases, as long as parameters have natural keys
|
||||||
and implement valid `hashCode()` and `equals()` methods. If that is not the case, you need to change the
|
and implement valid `hashCode()` and `equals()` methods. If that is not the case, you need to change the
|
||||||
|
|||||||
Reference in New Issue
Block a user