code: @Deprecated
      public static String getDefaultFile(CmsObject cms, String folder) {
  
          if (folder.endsWith("/")) {
              try {
                  CmsResource defaultFile = cms.readDefaultFile(folder);
                  if (defaultFile != null) {
                      return cms.getSitePath(defaultFile);
                  }
              } catch (CmsException e) {
                  LOG.debug(e.getLocalizedMessage(), e);
              }
              return folder;
          }
          return null;
      }
docs: Returns the full name (including VFS path) of the default file for this navigation element
  or <code>null</code> if the navigation element is not a folder.<p>
  
  The default file of a folder is determined by the value of the property
  <code>default-file</code> or the system wide property setting.<p>
  
  @param cms the CMS object
  @param folder full name of the folder
  
  @return the name of the default file
  
  @deprecated use {@link CmsObject#readDefaultFile(String)} instead