remove Unnecessary semicolon
using diamond
Using for each loop
If can be switch
Merge pull request #12 from otaviojava/master

Update Sintax to Java 7 and 8