docs: @SuppressWarnings("deprecation")
      public CmsResource createFolder(String targetFolder, String folderName) throws Exception {
  
          if (m_cms.existsResource(targetFolder + folderName)) {
              m_shell.getOut().println(
                  getMessages().key(Messages.GUI_SHELL_FOLDER_ALREADY_EXISTS_1, targetFolder + folderName));
              return null;
          }
          return m_cms.createResource(targetFolder + folderName, CmsResourceTypeFolder.getStaticTypeId());
      }