unnecessary ternary operator
Merge pull request #1610 from alexeyraspopov/patch-1

unnecessary ternary operator