The nasty thing about Java syntax
The braces (I mean {}) are just semantically important. In other words, if you don't put them, it will not raise any error and the only thing which will be considered by the compiler inside the loop is the next expression after the loop/branch statement.