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;
}

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 ; }
from the original set of strings , remove any entries that are blank .
