Commons IO
  1. Commons IO
  2. IO-264

FileUtils.moveFile() JavaDoc should specify FileExistsException thrown

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Utilities
    • Labels:
      None

      Description

      FileUtils.moveFile() JavaDoc does specify the behaviour of the method in a case when the destFile exists. It would be helpful to know from the JavaDoc that in such case an exception is thrown as it's not immediately obvious.

        Activity

        Maciej Biłas created issue -
        Mark Thomas made changes -
        Field Original Value New Value
        Workflow jira [ 12601288 ] Default workflow, editable Closed status [ 12601935 ]
        Niall Pemberton made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Niall Pemberton [ niallp ]
        Fix Version/s 2.1 [ 12316027 ]
        Resolution Fixed [ 1 ]
        Gary Gregory made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Niall Pemberton
            Reporter:
            Maciej Biłas
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development