private static LDAPFilter createORFilter(FilterSet filterSet) throws LDAPException, IOException {
  List<JAXBElement<?>> list=filterSet.getFilterGroup();
  ArrayList<RawFilter> filters=new ArrayList<>(list.size());
  for (  JAXBElement<?> filter : list) {
    filters.add(createFilter(filter));
  }
  return LDAPFilter.createORFilter(filters);
}

private static LDAPFilter createORFilter ( FilterSet filterSet ) throws LDAPException , IOException { List < JAXBElement < ? > > list = filterSet . getFilterGroup ( ) ; ArrayList < RawFilter > filters = new ArrayList < > ( list . size ( ) ) ; for ( JAXBElement < ? > filter : list ) { filters . add ( createFilter ( filter ) ) ; } return LDAPFilter . createORFilter ( filters ) ; }
returns a new or search filter with the provided filter components .
