Fixed or suppressed all code editor warnings. Upgraded syntax to Java version 1.8, and to Junit 4 where needed.