Refactoring of the Braces handling in the Checkstyle writer