Arturo Bernal created JSPWIKI-1148:
--------------------------------------

             Summary: Avoid File Stream
                 Key: JSPWIKI-1148
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1148
             Project: JSPWiki
          Issue Type: Improvement
            Reporter: Arturo Bernal


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]

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to