code: private String internalCategoryRootPath(String basePath, String categoryPath) {
  
          if (categoryPath.startsWith("/") && basePath.endsWith("/")) {
              // one slash too much
              return basePath + categoryPath.substring(1);
          } else if (!categoryPath.startsWith("/") && !basePath.endsWith("/")) {
              // one slash too less
              return basePath + "/" + categoryPath;
          } else {
              return basePath + categoryPath;
          }
      }
docs: Composes the category root path by appending the category path to the given category repository path.<p>
  
  @param basePath the category repository path
  @param categoryPath the category path
  
  @return the category root path