Carlos Guzmán Álvarez wrote:
> Hello:
> 
>> is there any reason, why is FbErrorCollection created as synchronized?
>> 
>> Can be there any concurent access to collection?
> 
> 
> You mean the errors member of the FbErrorCollection class ??

Yes, private ArrayList errors member.

> No special reason only that i usually do that  with aArrayLists's and 
> Hashtable's

OK, so I think, this is the good candidate for using generics. We'll kill 
the (un)boxing in the code like in get { return (FbError)this.errors[index]; }.
What do you think?

-- 
Jiri {x2} Cincura
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to