Minor code formatting changes.

Based on PMD UselessParentheses warning.