private void addSearchHistory(){
  addSearchHistory(tfSearchEditor.getText());
}

private void addSearchHistory ( ) { addSearchHistory ( tfSearchEditor . getText ( ) ) ; }
adds current search pattern in the search history list
