Skip to content

MacOSX WatchService check for null file in recursiveListFiles#8

Merged
robertroeser merged 1 commit intomasterfrom
stevegury-recursivefilelist
Aug 26, 2015
Merged

MacOSX WatchService check for null file in recursiveListFiles#8
robertroeser merged 1 commit intomasterfrom
stevegury-recursivefilelist

Conversation

@stevegury
Copy link
Copy Markdown
Member

It's possible to have listFiles return a null in specific conditions (I believe if the directory is deleted).
This code should check for that before using the file variable.

It's possible to have listFiles return a null in specific conditions (I believe if the directory is deleted).
This code should check for that before using the file variable.
robertroeser added a commit that referenced this pull request Aug 26, 2015
MacOSX WatchService check for null file in recursiveListFiles
@robertroeser robertroeser merged commit 46a740b into master Aug 26, 2015
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.

2 participants