Add brackets to avoid ambiguity

Java ignores indentation, which might cause headaches in the future.