[
https://issues.apache.org/jira/browse/HADOOP-8174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14534469#comment-14534469
]
Tsuyoshi Ozawa commented on HADOOP-8174:
----------------------------------------
[~qwertymaniac] I took a look at the patch, and I think it's before our
supporting Windows. Precisely, we can say "slash for Unix OS, back slack for
Windows". What do you think?
> Remove confusing comment in Path#isAbsolute()
> ---------------------------------------------
>
> Key: HADOOP-8174
> URL: https://issues.apache.org/jira/browse/HADOOP-8174
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.23.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Labels: BB2015-05-RFC
> Attachments: HADOOP-8174.patch, HADOOP-8174.txt
>
>
> The method is checking for absolute path correctly. When scheme and authority
> are present, the path is absolute. So the following comment needs to be
> removed.
> {noformat}
> /**
> * There is some ambiguity here. An absolute path is a slash
> * relative name without a scheme or an authority.
> * So either this method was incorrectly named or its
> * implementation is incorrect. This method returns true
> * even if there is a scheme and authority.
> */
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)