Yeah, in scala we have no space before colon, but this is a common pattern in Java (e.g. `bool ? 1 : 2` is short-hand for `if (bool) { 1 } else { 2 }`). We do this elsewhere in other examples, actually.