trivial refactor: utilize a little bit of Java 5 syntax