Fix [SonarQube] if/else/for/while/do statements should always use curly
braces
Fix [SonarQube] if/else/for/while/do statements should always use curly
braces
Add default to switch
Fix [SonarQube] if/else/for/while/do statements should always use curly
braces
Fix [SonarQube] Avoid commented-out lines of code (A block of
commented-out lines of code should be removed)
Fix [SonarQube] Avoid commented-out lines of code (A block of
commented-out lines of code should be removed)
Fix [SonarQube] Strings should be compared using equals()
Update javadoc