Fixed JDK 5 compilation issue.