Eclipse has the option to put the semicolon at the right place in your coding.
For some very annoying reason my workspace had this feature disabled. In case you have the same activate it via the following:
About Lars Vogel
Lars Vogel is the founder and CEO of the vogella GmbH and works as Eclipse and Android consultant, trainer and book author. He is a regular speaker at international conferences,
With more than one million visitors per month his website vogella.com is one of the central sources for Eclipse and Android programming information.