[bugfix] Ensure type safety - even though we are using Generics which are type erased, using generics in a for loop seems that it can cause some problems if the incoming array is not of that type at runtime
[bugfix] Ensure type safety - even though we are using Generics which are type erased, using generics in a for loop seems that it can cause some problems if the incoming array is not of that type at runtime

svn path=/trunk/eXist/; revision=14726

patczar/exist,lcahlander/exist,MjAbuz/exist,patczar/exist,windauer/exist,adamretter/exist,ambs/exist,lcahlander/exist,dizzzz/exist,kohsah/exist,joewiz/exist,adamretter/exist,ambs/exist,wshager/exist,lcahlander/exist,joewiz/exist,MjAbuz/exist,shabanovd/exist,lcahlander/exist,jessealama/exist,ambs/exist,joewiz/exist,wshager/exist,patczar/exist,wolfgangmm/exist,patczar/exist,hungerburg/exist,shabanovd/exist,opax/exist,wshager/exist,zwobit/exist,ljo/exist,dizzzz/exist,zwobit/exist,kohsah/exist,zwobit/exist,eXist-db/exist,ljo/exist,adamretter/exist,eXist-db/exist,wolfgangmm/exist,windauer/exist,ljo/exist,opax/exist,MjAbuz/exist,eXist-db/exist,jessealama/exist,RemiKoutcherawy/exist,dizzzz/exist,jessealama/exist,shabanovd/exist,ljo/exist,ambs/exist,jensopetersen/exist,RemiKoutcherawy/exist,RemiKoutcherawy/exist,opax/exist,zwobit/exist,wolfgangmm/exist,lcahlander/exist,jensopetersen/exist,RemiKoutcherawy/exist,kohsah/exist,adamretter/exist,windauer/exist,jessealama/exist,shabanovd/exist,jensopetersen/exist,dizzzz/exist,joewiz/exist,zwobit/exist,ambs/exist,lcahlander/exist,shabanovd/exist,RemiKoutcherawy/exist,jensopetersen/exist,adamretter/exist,windauer/exist,kohsah/exist,ljo/exist,olvidalo/exist,jensopetersen/exist,wolfgangmm/exist,dizzzz/exist,wolfgangmm/exist,ljo/exist,wolfgangmm/exist,kohsah/exist,MjAbuz/exist,windauer/exist,joewiz/exist,windauer/exist,zwobit/exist,RemiKoutcherawy/exist,jensopetersen/exist,eXist-db/exist,olvidalo/exist,patczar/exist,eXist-db/exist,ambs/exist,MjAbuz/exist,hungerburg/exist,jessealama/exist,opax/exist,MjAbuz/exist,hungerburg/exist,olvidalo/exist,eXist-db/exist,dizzzz/exist,olvidalo/exist,wshager/exist,opax/exist,wshager/exist,wshager/exist,shabanovd/exist,hungerburg/exist,patczar/exist,joewiz/exist,olvidalo/exist,hungerburg/exist,adamretter/exist,jessealama/exist,kohsah/exist