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

Avoid File Stream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.11.0
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: