Skip to content

Conversation

@abchaubey
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Dec 28, 2020

Coverage Status

Coverage decreased (-0.04%) to 88.596% when pulling 293ad3f on abchaubey:master into 18b80a3 on apache:master.

<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.11</version>
<scope>test</scope>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-1 we don't want this runtime dependency.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, remove runtime dependency

ch0 = Character.toUpperCase(ch0);
if (ch0 >= 'A' && ch0 <= 'Z') {
if (len == 2 || isSeparator(fileName.charAt(2)) == false) {
if (len == 2 && SystemUtils.IS_OS_LINUX) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, updated to use "!FilenameUtils.isSystemWindows()"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though about this a little more and since other OSs support driver letters, I've abstracted this away in a new method FileSystem#supportsDriveLetter(), so please rebase on master and use that method instead of testing for the OS directly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FileSystem.supportsDriveLetter() is non-static method getPrefixLength is static

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So?

@garydgregory
Copy link
Member

@abchaubey
Please rebase on master.
TY.

@abchaubey
Copy link
Contributor Author

@garydgregory I will create new PR for this from new fork

@abchaubey
Copy link
Contributor Author

@garydgregory new PR :#179 , closing this one

@abchaubey abchaubey closed this Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants