Consistently use American English spelling

Since the Spring Framework uses American English spelling, this commit
updates Javadoc and the reference manual to ensure consistency in that
regard. However, there are two exceptions to this rule that arise due
to their use within a technical context.

- We use "cancelled/cancelling" instead of "canceled/canceling" in
  numerous places (including error messages).
- We use "implementor" instead of "implementer".

Closes gh-36470
This commit is contained in:
Sam Brannen
2026-03-15 17:04:23 +01:00
parent 9b366b28b7
commit 17699103dc
36 changed files with 117 additions and 137 deletions
@@ -243,7 +243,7 @@ class ExpressionLanguageScenarioTests extends AbstractExpressionTests {
/**
* Regardless of the current context object, or root context object, this resolver can tell you what colour a fruit is !
* Regardless of the current context object, or root context object, this resolver can tell you what color a fruit is !
* It only supports property reading, not writing. To support writing it would need to override canWrite() and write()
*/
private static class FruitColourAccessor implements PropertyAccessor {
@@ -284,7 +284,7 @@ class ExpressionLanguageScenarioTests extends AbstractExpressionTests {
/**
* Regardless of the current context object, or root context object, this resolver can tell you what colour a vegetable is !
* Regardless of the current context object, or root context object, this resolver can tell you what color a vegetable is !
* It only supports property reading, not writing.
*/
private static class VegetableColourAccessor implements PropertyAccessor {