Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: minor typo fixes

Groovy uses a similar syntax to Java although in Groovy semicolons are optional.
This saves a little typing but also makes code look much cleaner (surprisingly so for such a minor change). So normally if one statement is on each line you can ommit omit semicolons altogether - though its it's no problem to use them if you want to. If you want to put multiple statements on a line use a semicolon to separate the statements.

...