Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17759

Rewrite move method in Scan importer to be more robust

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF19, 7.4
    • Component/s: Scan importer

      Description

      The current implementation based on java.io.file.renameTo returns true some time whereas the file was not moved to the target.

      Since JDK7, we can use java.nio.file.Files.move which solves some of the issues with java.io.file

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: