Fixed pull request #8 to work with Java 6