Refactoring! of ConfusingTernaryCheck.java