String value = (subqueryValue != null) ? subqueryValue : (String) scope.getFocus();
String value = subqueryValue; if (value == null && scope.getFocus() instanceof String) { value = (String)scope.getFocus(); }
    private static PreparedStatement createSql(BrowseScope scope,            String subqueryValue, boolean after, boolean isCount)            throws SQLException    {        String sqli = createSqlInternal(scope, subqueryValue, isCount);        String sql = formatSql(scope, sqli, subqueryValue, after);        PreparedStatement statement = createStatement(scope, sql);        // Browses without a focus have no parameters to bind        if (scope.hasFocus())        {            String value = (subqueryValue != null) ? subqueryValue                    : (String) scope.getFocus();            statement.setString(1, value);            // Binds the parameter in the subquery clause            if (subqueryValue != null)            {                statement.setString(2, value);            }        }        if (log.isDebugEnabled())        {            log.debug("Created SQL \"" + sql + "\"");        }        return statement;    }