docs: public static String addTrailingSeparator(String path) {
  
          int l = path.length();
          if ((l == 0) || (path.charAt(l - 1) != '/')) {
              return path.concat("/");
          } else {
              return path;
          }
      }