qinglixiao / vcardio

Automatically exported from code.google.com/p/vcardio
0 stars 0 forks source link

bug when read a EOF #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
bug.
file  Contacts.java  

vCard.mark(1);
for (int ch = vCard.read(); ch == (int) ' ' || ch == (int) '\t'; ch = 
vCard.read()) {...

when  vCard.read()  get a EOF, then vCard.reset() will  throw a exception ,that 
lead a uncomplete Import.

Original issue reported on code.google.com by longguan...@gmail.com on 29 Nov 2011 at 3:11