Hi,

I found something suspicious in ConcreteElement. Both registry (Hashtable)
and registryList (Vector) are based on element's hashcode converted to String.

Is it safe to use hashcodes as unique is because they are not unique for
elements - it's perfectly legal to have two or more different elements with
same hash?

Why conversion to String?

Zeljko Trogrlic
____________________________________________________________

@-solutions GmbH
Grillparzer Str. 14; D-81675 Muenchen
Tel.: 089/45 79 0-351; Fax.: 089/45 79 0-321 
Email: mailto:[EMAIL PROTECTED]  WWW: http://www.at-solutions.de 



--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to