Cedric Hyppolite wrote:
Actually, there is an issue with folder listing. It works only if
the listed folder is not the default one. I got the listing of
INBOX so I didn't notice.
To get it fully working, you need to change:
char sep = getSeparator();
String spec =
new StringBuffer(path).append(sep).append(pattern).toString();
into
String spec;
if (path.equals(""))
{
spec = pattern;
}
else
{
char sep = getSeparator();
spec = new StringBuffer(path).append(sep).append
(pattern).toString();
}
So the 'empty name' folder will get listed without a separator
character.
This does not change the fact that the folder type need the fix
explained below.
OK, implemented and committed. Sorry for the delay.
--
犬 Chris Burdess
"They that can give up essential liberty to obtain a little safety
deserve neither liberty nor safety." - Benjamin Franklin