Java Single Line If