this.store = store;
subscriptions = new MailboxSubscriptions();
}
@Override
public List<StoredMessage> getAllMessages() {
<BUG>List<StoredMessage> ret = new ArrayList<StoredMessage>();
try {
Collection boxes = store.listMailboxes("*");

for (Object boxe : boxes) {

MailFolder folder = (MailFolder) boxe;
ret.addAll(folder.getMessages());
</BUG>
}

this.store = store;
subscriptions = new MailboxSubscriptions();
}
@Override
public List<StoredMessage> getAllMessages() {
List<StoredMessage> ret = new ArrayList<>();
try {
Collection<MailFolder> boxes = store.listMailboxes("*");
for (MailFolder boxe : boxes) {
ret.addAll(boxe.getMessages());
}
