common/src/main/java/org/jboss/pnc/common/util/StringUtils.java
public static String serializeInt(Integer[] integers) {
        if (integers == null) {
            return "";
        }
        return Arrays.stream(integers)
                .map(i -> Integer.toString(i)).collect(Collectors.joining(","));
    }
public static String serializeInt(Integer[] integers) {
        if (integers == null) {
            return "";
        }
        return Arrays.stream(integers)
                .map(i -> Integer.toString(i)).collect(Collectors.joining(","));
    }
Serialize Integer array to comma separated string.
@return An empty string when the Integer array parameter is empty or null.