Applied Pentaho code formatting rules && Fixed CheckStyle warnings as well

Applied Pentaho code formatting rules && Fixed CheckStyle warnings as well