giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reudismam Rolim de Sousa (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GIRAPH-1209) Use the class Path to represent a path instead of a String
Date Sat, 20 Oct 2018 20:40:00 GMT
Reudismam Rolim de Sousa created GIRAPH-1209:
------------------------------------------------

             Summary: Use the class Path to represent a path instead of a String
                 Key: GIRAPH-1209
                 URL: https://issues.apache.org/jira/browse/GIRAPH-1209
             Project: Giraph
          Issue Type: Improvement
            Reporter: Reudismam Rolim de Sousa


Strings can be used to represent a file system path even though some classes are specifically
designed for this task. For instance, java.nio.Path. It is useful to change the type of the
variable to Path, since strings can be combined in an undisciplined way, which can lead to
invalid paths. Second, different operating systems use different file separators, which can
cause bugs. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message