DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14310>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14310 [PATCH] Concat throws npe if it doesn't get at least one valid file. [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | Target Milestone|1.5.2 |--- Version|1.5.1 |1.6Alpha (nightly) ------- Additional Comments From [EMAIL PROTECTED] 2002-11-08 16:49 ------- Ok consistancy seems reasonable, but it looks like there is a bit of odd behavior going on as well if you don't throw the exception, an empty file gets created when there is nothing to concatenate. Perhaps we could throw in a check for 0 files that causes the method to return? I'm not wild about nothing + nothing = empty file. I'd like to see nothing + nothing = nothing. The first case means you can't checkup on the success of your concat with and available task. Or even better a failonerror setting? I don't like silently swallowing a condition where the only files specified turn out not to exist. Imagine how much fun FileInputStream would be if it did that :). -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
