code: protected String normalizePath(String path) {
  
          if (path.equals("/")) {
              return path;
          } else {
              return CmsFileUtil.removeTrailingSeparator(path);
          }
  
      }
docs: Converts a path to a normalized form.<p>
  
  @param path the path to normalize
  
  @return the normalized path