[
https://issues.apache.org/jira/browse/SCM-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SCM-998:
--------------------------------
Description:
Currently the different {{ScmManager}} methods sometimes return the OS
separator and sometimes only the forward slash in the {{ScmFile}} (used in the
complex return object).
As forward slash is currently returned on all OSes for
{{ScmManager.checkIn(...)}} all other methods like {{ScmManager.add(...)}} and
{{ScmManager.remove(...)}} should behave the same. Also the javadoc at
{{ScmFile.getPath()}} should be clarified in this regard.
was:
Currently the different {{ScmManager}} methods sometimes use the OS separator
and sometimes only the forward slash.
As forward slash is currently returned on all OSes for
{{ScmManager.checkIn(...)}} all other methods like {{ScmManager.add(...)}} and
{{ScmManager.remove(...)}} should behave the same. Also the javadoc at
{{ScmFile.getPath()}} should be clarified in this regard.
> Streamline file separator used in ScmFile.getPath()
> ---------------------------------------------------
>
> Key: SCM-998
> URL: https://issues.apache.org/jira/browse/SCM-998
> Project: Maven SCM
> Issue Type: Improvement
> Components: maven-scm-api
> Reporter: Konrad Windszus
> Priority: Major
>
> Currently the different {{ScmManager}} methods sometimes return the OS
> separator and sometimes only the forward slash in the {{ScmFile}} (used in
> the complex return object).
> As forward slash is currently returned on all OSes for
> {{ScmManager.checkIn(...)}} all other methods like {{ScmManager.add(...)}}
> and {{ScmManager.remove(...)}} should behave the same. Also the javadoc at
> {{ScmFile.getPath()}} should be clarified in this regard.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)