[PATCH 6/6] merge the same statements in the if() {} else {} clauses