Buggy code:
private static final String RELEVANCE_TITLE = "Relevance" ; private static final String PATH_TITLE = "Path" ; private static final String REPOSITORY_TITLE = "Repository" ; private static final String REVISION_TITLE = "Last<seq2seq4repair_space>Revision" ; @ UiTemplate ( "SearchView.ui.xml" ) interface SearchViewUiBinder extends UiBinder < Widget , SearchViewImpl > { } private static SearchViewImpl . SearchViewUiBinder uiBinder = GWT . create ( SearchViewImpl . SearchViewUiBinder . class ) ; private ListDataProvider < SearchResultDto > searchResultDataProvider ; @ UiField ( provided = true ) CellTable < SearchResultDto > resultTable ; @ UiField ( provided = true ) SimplePager resultTablePager ; @ UiField TextBox searchBox ; @ UiField Label helpLabel ; @ UiField Button searchButton ; @ UiField ListBox maxResults ; @ UiField TabLayoutPanel repositoryTabPanel ; @ UiField ListBox repositoryList ; @ UiField ListBox repositoryGroupList ; @ UiField FlowPanel resultView ; @ UiField HasValue < Boolean > caseSensitive ; @ UiField DisclosurePanel filterPanel ; @ UiField Panel repositoryFilterPanel ; @ UiField Panel fileEndingFilterPanel ; @ UiField Label resultStatusLabel ; @ UiField Button resetAllFiltersButton = new Button ( "Reset<seq2seq4repair_space>all<seq2seq4repair_space>filters" ) ; @ UiField Panel helpBox ; @ UiField HTML searchFieldsBox ; private Presenter presenter ; private SearchType searchType ; private NumberFormat relevanceFormatter = NumberFormat . getFormat ( "00.00" ) ; private List < SearchResultDto > unfilteredResults ; private boolean filtersInitialized ; private boolean repositoriesInitialized ; private boolean repositoryGroupsInitialized ; private String searchFieldTooltip = "" ; public SearchViewImpl ( ) { } @ UiHandler ( "searchButton" ) void onSearchButton ( ClickEvent e ) { } @ UiHandler ( "searchBox" ) void onSearchBoxKeyUp ( KeyUpEvent event ) { } @ UiHandler ( "repositoryTabPanel" ) void onSearchTypeSelection ( SelectionEvent < Integer > e ) { } @ UiHandler ( "filterPanel" ) void onFiltersOpen ( OpenEvent < DisclosurePanel > e ) { } @ UiHandler ( "resetAllFiltersButton" ) void onResetFilters ( ClickEvent e ) { } @ UiHandler ( "helpLabel" ) void onMouseOverHelp ( MouseOverEvent e ) { } @ UiHandler ( "helpLabel" ) void onMouseOutOfHelp ( MouseOutEvent e ) { } @ Override public void cleanup ( ) { } @ Override public void setSearchType ( SearchType searchType ) { } @ Override public Set < String > getSelection ( ) { } @ Override public void setSelection ( Set < String > selection ) { } @ Override public void setPresenter ( Presenter presenter ) { } @ Override public void setSearchResults ( List < SearchResultDto > results ) { } @ Override public void setResultStatusMessage ( String message ) { } @ Override public void setAvailableRepositories ( List < String > repositories ) { } @ Override public void setAvailableRepositoryGroups ( List < String > repositoryGroups ) { } @ Override public void setSearchFields ( List < SearchField > searchFields ) { } @ Override public void setMaxResults ( int maxResults ) { } @ Override public HasValue < Boolean > getCaseSensitive ( ) { } @ Override public ListBox getRepositoryList ( ) { } @ Override public ListBox getRepositoryGroupList ( ) { } @ Override public HasValue < String > getSearchBox ( ) { } @ Override public Panel getResultsView ( ) { } @ Override public SearchType getSearchType ( ) { } @ Override public int getMaxResults ( ) { } @ Override public boolean isInitialized ( ) { } private Set < String > getListSelection ( ListBox lb ) { } private void updateListSelection ( ListBox lb , Set < String > selection ) { } private void initResultTable ( ) { resultTable = new CellTable < SearchResultDto > ( SearchViewImpl . PAGE_SIZE ) ; resultTable . addColumn ( new com . google . gwt . user . cellview . client . TextColumn < SearchResultDto > ( ) { @ Override public String getValue ( SearchResultDto dto ) { return relevanceFormatter . format ( dto . getRelevance ( ) ) ; } } , SearchViewImpl . RELEVANCE_TITLE ) ; resultTable . addColumn ( new com . google . gwt . user . cellview . client . TextColumn < SearchResultDto > ( ) { @ Override public String getValue ( SearchResultDto object ) { return object . getFilePath ( ) ; } } , SearchViewImpl . PATH_TITLE ) ; resultTable . addColumn ( new com . google . gwt . user . cellview . client . TextColumn < SearchResultDto > ( ) { @ Override public String getValue ( SearchResultDto dto ) { return dto . getRepository ( ) ; } } , SearchViewImpl . REPOSITORY_TITLE ) ; resultTable . addColumn ( new com . google . gwt . user . cellview . client . TextColumn < SearchResultDto > ( ) { @ Override public String getValue ( SearchResultDto dto ) { <START_BUG> return dto . getRevision ( ) ; <END_BUG> } } , SearchViewImpl . REVISION_TITLE ) ; final NoSelectionModel < SearchResultDto > selectionModel = new NoSelectionModel < SearchResultDto > ( ) ; resultTable . setSelectionModel ( selectionModel ) ; selectionModel . addSelectionChangeHandler ( new SelectionChangeEvent . Handler ( ) { @ Override public void onSelectionChange ( SelectionChangeEvent event ) { SearchResultDto selected = selectionModel . getLastSelectedObject ( ) ; if ( selected != null ) { presenter . goTo ( new org . codesearch . searcher . client . ui . fileview . FilePlace ( selected . getRepository ( ) , selected . getFilePath ( ) , searchBox . getValue ( ) ) ) ; } } } ) ; SimplePager . Resources pagerResources = GWT . create ( Resources . class ) ; resultTablePager = new SimplePager ( TextLocation . CENTER , pagerResources , false , 0 , true ) ; resultTablePager . setDisplay ( resultTable ) ; searchResultDataProvider = new ListDataProvider < SearchResultDto > ( ) ; searchResultDataProvider . addDataDisplay ( resultTable ) ; } private class FilterHandler implements ValueChangeHandler < Boolean > { public FilterHandler ( ) { } @ Override public void onValueChange ( ValueChangeEvent < Boolean > event ) { } } }

Fix:
return dto . getLastRevision ( ) ;