Java stuff as I review coding in Java