modules/andes-core/broker/src/main/java/org/wso2/andes/store/rdbms/RDBMSMessageStoreImpl.java
private void close(Connection connection, PreparedStatement preparedStatement, ResultSet resultSet, String task) {
        close(resultSet, task);
        close(preparedStatement, task);
        close(connection, task);
    }
/**
     * close the connection, prepared statement and the result set.
     *
     * @param connection        connection to be closed
     * @param preparedStatement PreparedStatement
     * @param resultSet         result set to be closed
     * @param task              task that was done by the closed prepared statement.
     */
close the connection, prepared statement and the result set.
@param connection        connection to be closed
@param preparedStatement PreparedStatement
@param resultSet         result set to be closed
@param task              task that was done by the closed prepared statement.
close the connection prepared statement and the result set . @param connection connection to be closed @param preparedStatement PreparedStatement @param resultSet result set to be closed @param task task that was done by the closed prepared statement .
private void close(Connection connection, PreparedStatement preparedStatement, ResultSet resultSet, String task) {
        close(resultSet, task);
        close(preparedStatement, task);
        close(connection, task);
    }
private void close ( Connection connection , PreparedStatement preparedStatement , ResultSet resultSet , String task ) { close ( resultSet , task ) ; close ( preparedStatement , task ) ; close ( connection , task ) ; }
close the connection, prepared statement and the result set.
close the connection prepared statement and the result set .