swaldman / c3p0

a mature, highly concurrent JDBC Connection pooling library, with support for caching and reuse of PreparedStatements.
http://www.mchange.com/projects/c3p0
Other
1.29k stars 339 forks source link

Typo in log: conection resource close #85

Closed ChargingBulle closed 7 years ago

ChargingBulle commented 7 years ago

There is a typo in NewPooledConnection.java:414 (Link goes directly to line inside Github repo) conection should be connection (with two N)

                            Throwable t = (Throwable) ii.next();
//                          System.err.print("[c3p0 -- conection resource close Exception]: ");
//                          t.printStackTrace();
                            if ( logger.isLoggable( MLevel.INFO ) )
                                logger.log( MLevel.INFO, "[c3p0 -- conection resource close Exception]", t );
                        }
                    }
                    reset( txn_known_resolved );

if (closeExceptions.size() > 0)

Sorry for the minor ticket. I was unable to Comment the line itself. Thanks. Keep up the good work :)