I like the idea of splitting it up in to multiple lines because it's easier to find errors when you get a stack exception. Can you introduce a variable to store the value of the ternary expression? Other than that, it looks great!