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

(cherry picked from commit 17699103dc)
This commit is contained in:
Sam Brannen
2026-03-15 17:16:39 +01:00
parent 10faa7fdff
commit 0c4ed55fd2
35 changed files with 115 additions and 135 deletions
@@ -655,7 +655,7 @@ class PathPatternTests {
assertMatches(pp,"/");
assertMatches(pp,"//");
// Confirming AntPathMatcher behaviour:
// Confirming AntPathMatcher behavior:
assertThat(new AntPathMatcher().match("/{foo}", "/")).isFalse();
assertThat(new AntPathMatcher().match("/{foo}", "/a")).isTrue();
assertThat(new AntPathMatcher().match("/{foo}{bar}", "/a")).isTrue();