Program: 188744
Project: 188744
Buggy source:
private IngestTransfer(){
  Facets facets=null;
  transferredResourceList=new TransferredResourceList(DEFAULT_FILTER,facets,messages.ingestTransferList(),true);
  basicSearch=new BasicSearch(DEFAULT_FILTER,RodaConstants.TRANSFERRED_RESOURCE_NAME,messages.ingestTransferSearchPlaceHolder(),false,false);
  initWidget(uiBinder.createAndBindUi(this));
  ingestTransferDescription.add(new HTMLWidgetWrapper("String_Node_Str"));
  transferredResourceList.addValueChangeHandler(new ValueChangeHandler<IndexResult<TransferredResource>>(){
    @Override public void onValueChange(    ValueChangeEvent<IndexResult<TransferredResource>> event){
      updateVisibles();
    }
  }
);
  transferredResourceList.getSelectionModel().addSelectionChangeHandler(new Handler(){
    @Override public void onSelectionChange(    SelectionChangeEvent event){
      TransferredResource r=transferredResourceList.getSelectionModel().getSelectedObject();
      if (r != null) {
        basicSearch.clearSearchInputBox();
        Tools.newHistory(RESOLVER,getPathFromTransferredResourceId(r.getId()));
      }
    }
  }
);
  transferredResourceList.addCheckboxSelectionListener(new CheckboxSelectionListener<TransferredResource>(){
    @Override public void onSelectionChange(    SelectedItems<TransferredResource> selected){
      boolean empty=SelectedItemsUtils.isEmpty(selected);
      remove.setText(empty ? messages.ingestTransferButtonRemoveWholeFolder() : messages.ingestTransferButtonRemoveSelectedItems());
      startIngest.setText(empty ? messages.ingestTransferButtonIngestWholeFolder() : messages.ingestTransferButtonIngestSelectedItems());
      updateVisibles();
    }
  }
);
}

Fixed version (ground truth):
private IngestTransfer(){
  Facets facets=null;
  transferredResourceList=new TransferredResourceList(DEFAULT_FILTER,facets,messages.ingestTransferList(),true);
  basicSearch=new BasicSearch(DEFAULT_FILTER,RodaConstants.TRANSFERRED_RESOURCE_NAME,messages.ingestTransferSearchPlaceHolder(),false,false);
  basicSearch.setList(transferredResourceList);
  basicSearch.setDefaultFilterIncremental(true);
  initWidget(uiBinder.createAndBindUi(this));
  ingestTransferDescription.add(new HTMLWidgetWrapper("String_Node_Str"));
  transferredResourceList.addValueChangeHandler(new ValueChangeHandler<IndexResult<TransferredResource>>(){
    @Override public void onValueChange(    ValueChangeEvent<IndexResult<TransferredResource>> event){
      updateVisibles();
    }
  }
);
  transferredResourceList.getSelectionModel().addSelectionChangeHandler(new Handler(){
    @Override public void onSelectionChange(    SelectionChangeEvent event){
      TransferredResource r=transferredResourceList.getSelectionModel().getSelectedObject();
      if (r != null) {
        basicSearch.clearSearchInputBox();
        Tools.newHistory(RESOLVER,getPathFromTransferredResourceId(r.getId()));
      }
    }
  }
);
  transferredResourceList.addCheckboxSelectionListener(new CheckboxSelectionListener<TransferredResource>(){
    @Override public void onSelectionChange(    SelectedItems<TransferredResource> selected){
      boolean empty=SelectedItemsUtils.isEmpty(selected);
      remove.setText(empty ? messages.ingestTransferButtonRemoveWholeFolder() : messages.ingestTransferButtonRemoveSelectedItems());
      startIngest.setText(empty ? messages.ingestTransferButtonIngestWholeFolder() : messages.ingestTransferButtonIngestSelectedItems());
      updateVisibles();
    }
  }
);
}