No you missed something, what i have is that : if (...cond1... cond2...) {...}
But anyway i just put all condition on one line.