fix oscillating code
fix oscillating code

See: http://stackoverflow.com/a/24417812

Also, add final to parameters automatically. Easier
for checkstyle.

uwescience/myria,bsalimi/myria,uwescience/myria,bsalimi/myria,uwescience/myria,jamesmarva/myria,jamesmarva/myria,bsalimi/myria,jamesmarva/myria