code: public void addResult(CmsContentCheckResource testResource) {
  
          List warnings = testResource.getWarnings();
          List errors = testResource.getErrors();
          // add the warnings if there were any
          if ((warnings != null) && (warnings.size() > 0)) {
              m_warnings.put(testResource.getResourceName(), warnings);
              m_warningResources.add(testResource.getResource());
              m_warningCheckResources.add(testResource);
          }
          // add the errors if there were any
          if ((errors != null) && (errors.size() > 0)) {
              m_errors.put(testResource.getResourceName(), errors);
              m_errorResources.add(testResource.getResource());
              m_errorCheckResources.add(testResource);
          }
          m_allResources.add(testResource.getResource());
          m_allCheckResources.add(testResource);
      }
docs: Adds the testing results of a CmsContentCheckResource to the result lists.<p>
  @param testResource the CmsContentCheckResource to add the results from