code: @SafeVarargs
      public static <T> String joinUrlPaths(final T[] arr, final T... arr2) {
          try {
              T[] url = ArrayUtils.addAll(arr, arr2);
              String res = StringUtils.join(url);
              return (res == null) ? "" : res;
          } catch (IndexOutOfBoundsException | IllegalArgumentException | ArrayStoreException e) {
              log.warn("Error while join URL paths from: {}, {}", arr, arr2);
              return "printerror:" + e;
          }
      }
docs: Join URL path into one string.
  
  @param arr  first url paths
  @param arr2 other url paths
  @param <T>  url part path type
  @return URL representation string