code: public void clearMessages(String fieldName) {
      	Set messagesForFieldName = getMessages(fieldName);
      	for (Iterator mi = messagesForFieldName.iterator(); mi.hasNext();) {
  			messages.remove(mi.next());
  		}
      	messagesSubSets.clear();
      }
docs: Clear all messages of the given fieldName.