code: private String resourcesToString(Iterable<CmsResource> resources) {
  
          StringBuffer buffer = new StringBuffer();
          boolean first = true;
          buffer.append("[");
          for (CmsResource res : resources) {
              if (!first) {
                  buffer.append(", ");
              }
              first = false;
              buffer.append(res.getRootPath());
              buffer.append("!");
              buffer.append(res.getState().getAbbreviation());
          }
          buffer.append("]");
          return buffer.toString();
      }
docs: Helper method to generate a string representation for a collection of resources for debug purposes.<p>
  
  @param resources the resources
  @return a string representing the list of resources