class HeaderHelper {

    public static String convertToString(Collection<String> collection) {
        if (collection == null) {
            return null;
        }
        if (collection.isEmpty()) {
            return "";
        }

        return Joiner.on(',').join(collection);
    }

    private  HeaderHelper();

}