code: public static CmsResourceTypeStatResultList init(CmsResourceTypeStatResultList resList) {
  
          if (resList == null) {
              return new CmsResourceTypeStatResultList();
          }
  
          resList.deleteOld();
          return resList;
      }
docs: Method to initialize the list.
  
  @param resList a given instance or null
  @return an instance