[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: File locking
scott.stark@jboss.org
do-not-reply at jboss.com
Tue Apr 22 12:45:55 EDT 2008
"alesj" wrote :
| It's Scott's test.
| But I think the purpose is to verify that URLConnection::lastModified can also tell you that the file has been deleted.
| See comments on the test code:
|
| | /**
| | * Test file deletion can be detected via URLConnection.getLastModified == 0.
| |
| Since like it was already said, we use this for lastModified check on URL based VFS handlers.
Correct, its testing whether if the URLConnection api can be used to detect file deletion.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145932#4145932
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145932
More information about the jboss-dev-forums
mailing list