/** * Adds messages. * <p/> * This merges the supplied messages with the current messages. If an existing message exists with the same * identifier as that supplied, it will be replaced. * * @param messages the messages to add */ @Override public void add(Messages messages) { putAll(messages.getMessages()); }