Minor - Add datasource test, minor code householding
This commit is contained in:
@@ -351,8 +351,9 @@ public class SQLite implements DataSource {
|
||||
@Override
|
||||
public synchronized void close() {
|
||||
try {
|
||||
if (con != null && !con.isClosed())
|
||||
con.close();
|
||||
if (con != null && !con.isClosed()) {
|
||||
con.close();
|
||||
}
|
||||
} catch (SQLException ex) {
|
||||
logSqlException(ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user