commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: [vfs] Why doesn't AbstractFileObject override equals?
Date Wed, 11 Jun 2008 19:36:31 GMT
> on the first glimpse i don't understand why AbstractFileObject doesn't 
> override equals() and hashCode().
The current VFS implementation (if you do not use anything else then the 
only-working SoftRefFilesCache) ensures that two resolveFile will return 
the same object if you ask for the same filename, thus, in terms of VFS 
there is nothing bad with the object comparison.
Did you catch any problem?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message