Checkstyle: Added missing default in switch block
Checkstyle: Fixed rule for "Space after 'for' and 'if'"