class MessageConverter {

    public static MessageList convert(org.faktorips.runtime.MessageList ipsMessages) {
        if (ipsMessages == null) {
            return new MessageList();
        }

        return StreamUtil.stream(ipsMessages)
                .map(MessageConverter::convert)
                .collect(toMessageList());

    }

    private  MessageConverter();

}