docs: public static List<CmsProperty> toList(Map<String, String> map) {
  
          if ((map == null) || (map.size() == 0)) {
              return Collections.emptyList();
          }
  
          List<CmsProperty> result = new ArrayList<CmsProperty>(map.size());
          Iterator<Map.Entry<String, String>> i = map.entrySet().iterator();
          while (i.hasNext()) {
              Map.Entry<String, String> e = i.next();
              CmsProperty property = new CmsProperty(e.getKey(), e.getValue(), null);
              result.add(property);
          }
  
          return result;
      }