2:22 PM
Subject: Re: NoSuchElementException in PropertyMapIterator
Hi Ahmed,
yes, this is a bug, thanks for reporting it.
Out of curiosity, , since it is not an exported API class: How are you using
PropertyMap?
Hannes
Hi Ahmed,
yes, this is a bug, thanks for reporting it.
Out of curiosity, , since it is not an exported API class: How are you using
PropertyMap?
Hannes
> Am 03.12.2016 um 10:00 schrieb Ahmed Ashour :
>
> Hi all,
> I believe there is a bug in next() of PropertyMap.PropertyMapIterator, where
Hi all,
I believe there is a bug in next() of PropertyMap.PropertyMapIterator, where
'iter' may not have more elements.
The line should be changed from "property = iter.next();" to "property =
iter.hasNext() ? iter.next() : null;".
This checking is done in the constructor and in skipNotEnumerable