解决PMD报告的两个问题：IfStmtsMustUseBraces、CallSuperFirst

see http://pmd.sourceforge.net/pmd-5.1.1/rules/java/braces.html#IfStmtsMustUseBraces
see http://pmd.sourceforge.net/pmd-5.1.1/rules/java/android.html#CallSuperFirst