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

AutoClosable of DocumentReader and DocumentWriter

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 9.3
    • Fix Version/s: None
    • Component/s: Core IO

      Description

      It would be more practical if org.nuxeo.ecm.core.io.DocumentReader and org.nuxeo.ecm.core.io.DocumentWriter extends interface java.lang.AutoCloseable. Therefore, users can benefit the try-with-resources statement, and avoid handling the resource closing by themselves.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mhuang Mincong Huang
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.