removed minor violations in turn.java (sonar)