mangstadt / ez-vcard

A vCard parser library for Java
Other
399 stars 92 forks source link

all() method doesn't consider registered scribes #81

Closed NeverWise closed 7 years ago

NeverWise commented 7 years ago

In ChainingParser class the first() method works as expected but the all() method doesn't works. I think the problem is that the all() method lacks of an if that is present in the first() method. To be clear this if:

if (index != null) {
    reader.setScribeIndex(index);
}
mangstadt commented 7 years ago

Thanks for catching that. Fixed in 254fcec700f1db78a08ba996c066fe1b599f7680.