docs: public CmsWorkplaceMessages getMessages(Locale locale) {
  
          CmsWorkplaceMessages result = m_messages.get(locale);
          if (result != null) {
              // messages have already been read
              return result;
          }
  
          // messages have not been read so far
          synchronized (this) {
              // check again
              result = m_messages.get(locale);
              if (result == null) {
                  result = new CmsWorkplaceMessages(locale);
                  m_messages.put(locale, result);
              }
          }
          return result;
      }