This PR fixes some typos and polishes trivial stuff.
Comment From: mbhave
Thanks @izeye! I realized later that https://github.com/spring-projects/spring-boot/pull/22090/files#diff-8c3621251ce66fe25c38ce9c01c4f034R110 also affected 2.1.x and 2.2.x so I fixed those manually.