Merged revision 1643761 from tomcat/trunk:
Close the InputStream after retrieving the last modification time from URLConnection.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1643765 13f79535-47bb-0310-9956-ffa450edef68
Merged revision 1643675 from tomcat/trunk:
It is not necessary to handle MalformedURLException separately as it extends IOException.


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1643770 13f79535-47bb-0310-9956-ffa450edef68