Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9855

Using try-with-resources with File IO Objects.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17.12.01, 16.11.06, 18.12.01
    • Component/s: None
    • Labels:
      None

      Description

      Proposal to use try with resources for File IO objects like ObjectInputStream and other objects. File classes have the AutoCloseable interface.

        Attachments

        1. OFBIZ-9855_2.patch
          49 kB
          Pradhan Yash Sharma
        2. OFBIZ-9855.patch
          4 kB
          Pradhan Yash Sharma

          Activity

            People

            • Assignee:
              jleroux Jacques Le Roux
              Reporter:
              PradhanYashSharma Pradhan Yash Sharma
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: