Merge pull request #22256 from KyleRogers

* pr/22256:
  Fix typo in cache abstraction chapter
This commit is contained in:
Stephane Nicoll
2019-01-15 06:24:59 -05:00

View File

@@ -6896,7 +6896,7 @@ abstraction uses a simple `KeyGenerator` based on the following algorithm:
* If no params are given, return `SimpleKey.EMPTY`.
* 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
and implement valid `hashCode()` and `equals()` methods. If that is not the case, you need to change the