http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1621
*** shadow/1621 Fri May 4 09:59:07 2001
--- shadow/1621.tmp.27374 Fri May 4 09:59:07 2001
***************
*** 0 ****
--- 1,26 ----
+ +============================================================================+
+ | Delete.java documentation vs code mismatch |
+ +----------------------------------------------------------------------------+
+ | Bug #: 1621 Product: Ant |
+ | Status: NEW Version: Nightly build |
+ | Resolution: Platform: PC |
+ | Severity: Minor OS/Version: Linux |
+ | Priority: Component: Core tasks |
+ +----------------------------------------------------------------------------+
+ | Assigned To: ant-dev@jakarta.apache.org |
+ | Reported By: daveg@permabit.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ The documentation for the <quiet> tag to <delete> states:
+ * If the file does not exist, do not display a diagnostic
+ * message or modify the exit status to reflect an error.
+
+ Yet at Delete.java:250 in execute(), it generates
+ log("Could not find file " + file.getAbsolutePath() + " to delete.",
+ Project.MSG_VERBOSE);
+ unconditionally. This call should be wrapped within a
+ if (!quiet) {}, or the documentation should be rewritten to more accurately
+ reflect the behavior.
|