Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-695

Exception while there should be none in copyFile

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Resolved
    • 2.8.0
    • None
    • Utilities
    • None

    Description

      public static void copyFile(final File srcFile, final File destFile, final boolean preserveFileDate) java doc says: "If the modification operation fails, no indication is provided", yet the method raises an IOException "Failed setLastModified on ...".

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            morvael Dominik DerwiƄski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment