in archaius2-core/src/main/java/com/netflix/archaius/readers/JDCConfigReader.java [132:156]
private void close(Connection conn, Statement stmt, ResultSet rs) {
try {
if (rs != null) {
rs.close();
}
} catch (SQLException e) {
log.error("An error occured on closing the ResultSet", e);
}
try {
if (stmt != null) {
stmt.close();
}
} catch (SQLException e) {
log.error("An error occured on closing the statement", e);
}
try {
if (conn != null) {
conn.close();
}
} catch (SQLException e) {
log.error("An error occured on closing the connection", e);
}
}