Minor fixes in spring-test

Commits on Nov 2, 2022 Remove final modifier from private method

Use Standard Charset object

Remove unnecessary toString call

Remove unnecessary static modifier

Refactor to use enhanced switch

Replace concatenated strings with text blocks

Rely on auto-boxing where appropriate

Remove Arrays.asList call with too few arguments

Use equals for String comparison

Remove redundant code

Fix imports

Revert "Remove Arrays.asList call with too few arguments"

Revert "Use equals for String comparison"

Reduce indentation

Improve text blocks in tests

Comment From: imkulwant

I have requested some changes.

In addition, please note that we use the present tense command form for commit message titles. For example, "Fix typo" instead of "Fixed typo". Can you please update your commit messages accordingly?

Thanks

Updated commit messages.

Comment From: sbrannen

This has been merged into main in debe78b7f9329b6864440eb3d2f18717a2c0b263 and slightly revised (along with other polishing) in 7d68d0625c499422afae9f9fba2b52af449d131b.

Thanks 👍