commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [vfs] Why doesn't AbstractFileObject override equals?
Date Wed, 11 Jun 2008 19:36:31 GMT
Hi!
> 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?

Ciao,
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message