Fixed compilation failure caused by incompatibility with Java 1.5

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpasyncclient/branches/4.0.x@1603150 13f79535-47bb-0310-9956-ffa450edef68