Fix some of Java 8 IDE migration warnings