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)