Object theValue = (isAuthorsBrowse) ? (Object) row .getStringColumn("author") : (Object) new Integer(row .getIntColumn("item_id"));
Object theValue = null;  if (isAuthorsBrowse) theValue= (Object) row.getStringColumn("author"); else if (isSubjectsBrowse) theValue= (Object) row.getStringColumn("subject"); else theValue= (Object) new Integer(row.getIntColumn("item_id"));
    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("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);    }