Mathieu Lirzin created OFBIZ-11192:

             Summary: Use ‘java.nio.file’ API instead of ‘’ when 
manipulating files
                 Key: OFBIZ-11192
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Mathieu Lirzin
            Assignee: Mathieu Lirzin

Since Java 1.7 the {{java.nio.file}} package provides a more modern way to 
manipulate the filesystem than {{}}. For example the presence of a Path 
class allows more typesafe manipulation of file and directory names than using 
plain strings.

Currently OFBiz uses {{}} exclusively but it would improve safety, 
maintainability and readability to move to the new {{java.nio.file}} API 

This message was sent by Atlassian Jira

Reply via email to