private static HashSet<String> parseAllowGeolocationOrigins(String setting){
  HashSet<String> origins=new HashSet<String>();
  if (!TextUtils.isEmpty(setting)) {
    for (    String origin : setting.split("\\s+")) {
      if (!TextUtils.isEmpty(origin)) {
        origins.add(origin);
      }
    }
  }
  return origins;
}

private static HashSet < String > parseAllowGeolocationOrigins ( String setting ) { HashSet < String > origins = new HashSet < String > ( ) ; if ( ! TextUtils . isEmpty ( setting ) ) { for ( String origin : setting . split ( "\\s+" ) ) { if ( ! TextUtils . isEmpty ( origin ) ) { origins . add ( origin ) ; } } } return origins ; }
parses the value of the default geolocation permissions setting .
