How to refactor for JDK7
parleys.com