code: public static void removeEmptyProperties(Map<String, CmsClientProperty> props) {
  
          Iterator<Map.Entry<String, CmsClientProperty>> iter = props.entrySet().iterator();
          while (iter.hasNext()) {
              Map.Entry<String, CmsClientProperty> entry = iter.next();
              CmsClientProperty value = entry.getValue();
              if (value.isEmpty()) {
                  iter.remove();
              }
          }
      }
docs: Helper method for removing empty properties from a map.<p>
  
  @param props the map from which to remove empty properties