Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-1148

Avoid File Stream

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.0
    • Component/s: None

      Description

      Replace construction of FileInputStream and FileOutputStream objects with Files NIO APIs.

      Please note, that the java.nio API does not throw a FileNotFoundException anymore, instead it throws a NoSuchFileException. 

       

      https://github.com/apache/jspwiki/blob/master/jspwiki-util/src/main/java/org/apache/wiki/util/PropertyReader.java#L144

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                arturobernalg Arturo Bernal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: