<commit_before>//
// $Id$
//
// samskivert library - useful routines for java programs
// Copyright (C) 2001-2007 <NAME>
// 
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

package com.samskivert.jdbc;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * The default liaison is used if no other liaison could be matched for a particular database
 * connection. It isn't very smart or useful but we need something.
 */
public class DefaultLiaison extends BaseLiaison
{
    // from DatabaseLiaison
    public boolean matchesURL (String url)
    {
        return true;
    }

    // from DatabaseLiaison
    public boolean isDuplicateRowException (SQLException sqe)
    {
        return false;
    }

    // from DatabaseLiaison
    public boolean isTransientException (SQLException sqe)
    {
        return false;
    }

    @SuppressWarnings("deprecation") // from DatabaseLiaison
    public int lastInsertedId (Connection conn) throws SQLException
    {
        return -1;
    }

    // from DatabaseLiaison
    public void initializeGenerator (
        Connection conn, String table, String column, int value, int size)
        throws SQLException
    {
        // nothing doing
    }

    // from DatabaseLiaison
    public int lastInsertedId (Connection conn, String table, String column)
        throws SQLException
    {
        return -1;
    }

    // from DatabaseLiaison
    public String columnSQL (String column)
    {
        return column;
    }

    // from DatabaseLiaison
    public String tableSQL (String table)
    {
        return table;
    }
<commit_msg>Missed a spot.<commit_after>//
// $Id$
//
// samskivert library - useful routines for java programs
// Copyright (C) 2001-2007 <NAME>
// 
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; either version 2.1 of the License, or
// (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

package com.samskivert.jdbc;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * The default liaison is used if no other liaison could be matched for a particular database
 * connection. It isn't very smart or useful but we need something.
 */
public class DefaultLiaison extends BaseLiaison
{
    // from DatabaseLiaison
    public boolean matchesURL (String url)
    {
        return true;
    }

    // from DatabaseLiaison
    public boolean isDuplicateRowException (SQLException sqe)
    {
        return false;
    }

    // from DatabaseLiaison
    public boolean isTransientException (SQLException sqe)
    {
        return false;
    }

    // from DatabaseLiaison
    public void initializeGenerator (
        Connection conn, String table, String column, int value, int size)
        throws SQLException
    {
        // nothing doing
    }

    // from DatabaseLiaison
    public int lastInsertedId (Connection conn, String table, String column)
        throws SQLException
    {
        return -1;
    }

    // from DatabaseLiaison
    public String columnSQL (String column)
    {
        return column;
    }

    // from DatabaseLiaison
    public String tableSQL (String table)
    {
        return table;
    }

{'fraction_non_alphanumeric': 0.07006369426751592, 'fraction_numerical': 0.011601455868971792, 'mean_word_length': 2.685666387259011, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2360923', 'n_tokens_mistral': 1194, 'n_tokens_neox': 1134, 'n_words': 506}