This PR aims to improve code consistency and readability by updating existing switch statements to use the enhanced switch syntax. The changes have been made only in classes where:

  1. Enhanced switch statements were already being used, ensuring that the entire class now uses the enhanced syntax.
  2. The entire class could be easily refactored to use the enhanced switch syntax without any loss of readability or functionality.

Comment From: ssang1105

@sbrannen When can this code be merged?

Comment From: sbrannen

Hi @ssang1105,

When can this code be merged?

I apologize: I had forgotten about this PR. I'll take another look.

Comment From: sbrannen

This has been merged into 6.0.x and main.

Thanks