281282283284285286287288289
} catch (RemoteException e) { throw new RuntimeException(e); } ArrayList<MessageResultModel> result = new ArrayList<MessageResultModel>(); for (MessageInfo message: list){ result.add(new MessageResultModel(message)); } return result; }