question: private String titleOf ( SearchResultMediator rp ) { int total = rp . totalResults ( ) ; String title = rp . getTitle ( ) ; if ( title . length ( ) > 40 ) { title = title . substring ( 0 , 39 ) + "..." ; } return title + " (" + total + " " + I18n . tr ( "results" ) + ")" ; }
target:  Returns the title of the specified ResultPanel.