Removes unnecessary usage of 'this' keyword, removes unused import statements, and reformats if and for statements to codepro guidelines