public Iterable < HistoryPageEntry < T > > getRenderList ( ) { if ( trimmed ) { List < HistoryPageEntry < T >> pageEntries = toPageEntries ( baseList ) ; if ( pageEntries . size ( ) > THRESHOLD ) { return updateFirstTransientBuildKey ( pageEntries . subList ( 0 , THRESHOLD ) ) ; } else { trimmed = false ; return updateFirstTransientBuildKey ( pageEntries ) ; } } else { // to prevent baseList's concrete type from getting picked up by <j:forEach> in view return updateFirstTransientBuildKey ( toPageEntries ( baseList ) ) ; } }
The records to be rendered this time .