Sonar major warnings - others (type)

Here are a list of types of warnings covered with this pull request:
* Avoid commented-out lines of code
* If Stmts Must Use Braces
* Switch statement found where default case is mi… …
* If Stmts Must Use Braces
* Inefficient String Buffering
* Constructor calling override-able method / func
* Consider simply returning the value vs storing
* This block of commented-out lines of code should
* Adjusting spaces, restoring exceptions, using char quotes instead of
* Naming - Suspicious constant field name
* Compare Objects With Equals, if this is intended
* Simplify Conditional
* Field isn't final but should be refactored to be so	
* Reverting final clause and simplifying boolean e…
* Dodgy exception is caught when different excepti…
* Avoid Duplicate Literals
* Variable naming convention
* Malicious code vulnerability - May expose intern...
* Changes field to default from protected