(Object) row.getStringColumn("sort_author") :
(Object) row.getStringColumn("author") :
    private static List getResults(BrowseScope scope,                                   List results,                                   int max)        throws SQLException    {        if (results == null)            return Collections.EMPTY_LIST;        List theResults = new ArrayList();        boolean hasLimit = ! scope.hasNoLimit();        boolean isAuthorsBrowse = scope.getBrowseType() == AUTHORS_BROWSE;        for (Iterator iterator = results.iterator(); iterator.hasNext();)        {            TableRow row = (TableRow) iterator.next();            Object theValue = (isAuthorsBrowse) ?                (Object) row.getStringColumn("sort_author") :                (Object) new Integer(row.getIntColumn("item_id"));            // Should not happen            if (theValue == null)                continue;            // Exceeded limit            if ( hasLimit &&  (theResults.size() >= max))                break;            theResults.add(theValue);            if (log.isDebugEnabled())                log.debug("Adding result " + theValue);        }        return isAuthorsBrowse ?            theResults : toItems(scope.getContext(), theResults);    }