[#SPR-8108] Replace all <pre> with <pre class="code"> in JavaDoc

Submit this change as I felt it was a good place to start for my first time contributing to an open source project and new to jira/git.

I have read the guidelines for contributing to this project but let me know if I have not followed the process correctly.

Issue: SPR-8108

Note: I have submitted the CLA.