Fixed Sonar critical warning: Security - Array is stored directly
SonarQube critical warning fixed: Switch statement found where one case falls through to the next case
SonarQube critical warning fixed: Avoid empty if statements, TODO items should be created separately.
SonarQube critical warning fixed: Switch statement found where one case falls through to the next case - is this expected to not break?
SonarQube critical warning fixed: A catch statement should never catch throwable since it includes errors.
SonarQube critical warning fixed: Reverted, due to Throwable needs to be handled in this instance.
Merge pull request #38 from neomatrix369/master

SonarQube warning cleanup (Critical warnings). Thanks Mani!