Can anybody explain why if-else do not passing validator? I do understand it might have less code with Thread.Sleep(1000\owner.getSpeed() But if-else is also looking like correct decision, so what is wrong with that? Any extra explanaition will help,thanks in advance...