Program: 188358
Project: 188358
Buggy source:
public void remove(final SelectedItems<IndexedFile> selected,final AsyncCallback<ActionImpact> callback){
  Dialogs.showConfirmDialog(messages.filesRemoveTitle(),messages.selectedFileRemoveMessage(),messages.dialogCancel(),messages.dialogYes(),new AsyncCallback<Boolean>(){
    @Override public void onSuccess(    Boolean confirmed){
      if (confirmed) {
        Dialogs.showPromptDialog(messages.outcomeDetailTitle(),null,null,messages.outcomeDetailPlaceholder(),RegExp.compile("String_Node_Str"),messages.cancelButton(),messages.confirmButton(),new AsyncCallback<String>(){
          @Override public void onFailure(          Throwable caught){
          }
          @Override public void onSuccess(          final String details){
            BrowserService.Util.getInstance().deleteFile(selected,details,new AsyncCallback<Void>(){
              @Override public void onSuccess(              Void result){
                Toast.showInfo(messages.runningInBackgroundTitle(),messages.runningInBackgroundDescription());
                Timer timer=new Timer(){
                  @Override public void run(){
                    HistoryUtils.newHistory(HistoryUtils.getCurrentHistoryPath());
                    callback.onSuccess(ActionImpact.DESTROYED);
                  }
                }
;
                timer.schedule(RodaConstants.ACTION_TIMEOUT);
              }
              @Override public void onFailure(              Throwable caught){
                callback.onFailure(caught);
              }
            }
);
          }
        }
);
      }
    }
    @Override public void onFailure(    Throwable caught){
    }
  }
);
}

Fixed version (ground truth):
public void remove(final SelectedItems<IndexedFile> selected,final AsyncCallback<ActionImpact> callback){
  Dialogs.showConfirmDialog(messages.filesRemoveTitle(),messages.selectedFileRemoveMessage(),messages.dialogCancel(),messages.dialogYes(),new AsyncCallback<Boolean>(){
    @Override public void onSuccess(    Boolean confirmed){
      if (confirmed) {
        Dialogs.showPromptDialog(messages.outcomeDetailTitle(),null,null,messages.outcomeDetailPlaceholder(),RegExp.compile("String_Node_Str"),messages.cancelButton(),messages.confirmButton(),false,new AsyncCallback<String>(){
          @Override public void onFailure(          Throwable caught){
          }
          @Override public void onSuccess(          final String details){
            BrowserService.Util.getInstance().deleteFile(selected,details,new AsyncCallback<Void>(){
              @Override public void onSuccess(              Void result){
                Toast.showInfo(messages.runningInBackgroundTitle(),messages.runningInBackgroundDescription());
                Timer timer=new Timer(){
                  @Override public void run(){
                    HistoryUtils.newHistory(HistoryUtils.getCurrentHistoryPath());
                    callback.onSuccess(ActionImpact.DESTROYED);
                  }
                }
;
                timer.schedule(RodaConstants.ACTION_TIMEOUT);
              }
              @Override public void onFailure(              Throwable caught){
                callback.onFailure(caught);
              }
            }
);
          }
        }
);
      }
    }
    @Override public void onFailure(    Throwable caught){
    }
  }
);
}