code: public void removeMessage(CmsNotificationMessage message) {
  
          m_messages.remove(message);
          if (hasWidget()) {
              m_widget.removeMessage(message);
          }
      }
docs: Removes the given notification message.<p>
  
  @param message the message to remove