docs: function (oldFilter) {
                  var filters = this._filters;
                  // stop here if there are no filters
                  if (!filters) {
                      return false;
                  }
                  var selectionCallback = getFindFilterFunction(oldFilter);
                  if (selectionCallback == null) {
                      this.$logError(this.INVALID_PARAMETER_FOR_REMOVEFILTER);
                      clean();
                      return false;
                  }
                  var newFiltersArray = arrayUtils.filter(filters, selectionCallback, this);
                  clean();
                  var filterToRemove = findFilterRes;
                  if (filterToRemove) {
                      if (filterToRemove.obj) {
                          // already loaded, dispose it
                          filterToRemove.obj.$dispose();
                          filterToRemove.obj = null;
                      } else {
                          // not yet loaded, prevent it to be loaded
                          this._filtersToBeLoaded--;
                      }
                      filterToRemove.filterClasspath = null;
                      filterToRemove.initArgs = null;
                      if (newFiltersArray.length === 0) {
                          this._filters = null;
                      } else {
                          this._filters = newFiltersArray;
                      }
                      return true;
                  }
                  return false;
              }