garydgregory commented on pull request #47:
URL: https://github.com/apache/commons-io/pull/47#issuecomment-756865884


   Note that this PR would contradict the class' Javadoc:
   ```
   /**
    * FileWriter that will create and honor lock files to allow simple
    * cross thread file lock handling.
    * <p>
    * This class provides a simple alternative to <code>FileWriter</code>
    * that will use a lock file to prevent duplicate writes.
    * <p>
    * <b>N.B.</b> the lock file is deleted when {@link #close()} is called
    * - or if the main file cannot be opened initially.
    * In the (unlikely) event that the lockfile cannot be deleted,
    * this is not reported, and subsequent requests using
    * the same lockfile will fail.
    * <p>
    * By default, the file will be overwritten, but this may be changed to 
append.
    * The lock directory may be specified, but defaults to the system property
    * <code>java.io.tmpdir</code>.
    * The encoding may also be specified, and defaults to the platform default.
    *
    */
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to