Sure, that is a valid use - it avoids duplicating three or more lines of code that only differ by a tiny bit. The alternative would be to have a variable to hold a temporary value from an if-statement before the constructor call.

I would also say that ternary operator should be used sparingly - it should be the exception, not the rule, if you see what I mean.

--
Mats