protected void close()

in src/main/java/org/apache/commons/configuration2/DatabaseConfiguration.java [432:456]


    protected void close(final Connection conn, final Statement stmt, final ResultSet rs) {
        try {
            if (rs != null) {
                rs.close();
            }
        } catch (final SQLException e) {
            getLogger().error("An error occurred on closing the result set", e);
        }

        try {
            if (stmt != null) {
                stmt.close();
            }
        } catch (final SQLException e) {
            getLogger().error("An error occurred on closing the statement", e);
        }

        try {
            if (conn != null) {
                conn.close();
            }
        } catch (final SQLException e) {
            getLogger().error("An error occurred on closing the connection", e);
        }
    }