Skip to content

getParent should not return null for targetFilename#22

Open
ovruni wants to merge 1 commit intostathissideris:masterfrom
ovruni:master
Open

getParent should not return null for targetFilename#22
ovruni wants to merge 1 commit intostathissideris:masterfrom
ovruni:master

Conversation

@ovruni
Copy link
Copy Markdown

@ovruni ovruni commented Dec 6, 2016

Hi,

"new File(targetFilename).getParent()" return null value if targetFilename is a relative path, use "new File(targetFilename).getAbsoluteFile().getParent()" instead.

Note: For some strange reason the github.com website shows other lines, do not look at it, use "git log -p" to see the changes made.

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.

1 participant