MaxKellermann commented on pull request #155:
URL: https://github.com/apache/commons-vfs/pull/155#issuecomment-796685828


   It is used to keep track of whether the current thread has a stream object 
for a certain file (`DefaultFileContent`) open. This is needed to implement 
`FileContent.isOpen()`, which in turn gets called by 
`AbstractFileContent.isContentOpen()`, which is only used by `LRUFilesCache` to 
check whether eviction shall be blocked. Don't ask me why it only checks for 
stream objects of the current thread... no idea. None of this makes a lot of 
sense to me, it seems like a bad hack.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to