Delete ternary operator

Delete ternary operator to comply with 120 characters per line limit