Typo fixes and cleanup of outdated Java 5 references
Typo fixes and cleanup of outdated Java 5 references

Issue: SPR-12020

spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework