class CollectionUtils {

    public static Set<String> removeBlankEntries(Set<String> originalSet) {

        if (isEmpty(originalSet)) {
            return originalSet;
        }

        Set<String> result = new HashSet<>(originalSet.size());
        for (String entry : originalSet) {
            if (StringUtils.isNotBlank(entry)) {
                result.add(entry);
            }
        }

        return result;
    }

    private  CollectionUtils();

}