michaeljmarshall commented on code in PR #4353:
URL: https://github.com/apache/cassandra/pull/4353#discussion_r2684005400
##########
src/java/org/apache/cassandra/utils/CloseableIterator.java:
##########
@@ -67,4 +82,35 @@ public T next()
};
}
+ /**
+ * Pairs a {@link CloseableIterator} and an {@link AutoCloseable} so that
the latter is closed when the former is
+ * closed.
+ */
+ static <T> CloseableIterator<T> withOnClose(CloseableIterator<T> iterator,
Closeable onClose)
Review Comment:
Removed it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]