ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51110] Ambiguous expected result from the resourceexists condition with URLResource
Date Mon, 13 Feb 2012 02:11:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51110

--- Comment #4 from Anthony Wat <acwwat@gmail.com> 2012-02-13 02:11:22 UTC ---
It seems that URLConnection.getContent() and URLConnection.getInputStream() are
the only methods that can generate FileNotFoundException when the resource
really does not exist. I've created a patch to use the latter, which will avoid
unused data from being downloaded. Please review and commit if everything looks
OK. Thanks a lot.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message