davidradl commented on code in PR #26861:
URL: https://github.com/apache/flink/pull/26861#discussion_r2273508612
##########
flink-core/src/main/java/org/apache/flink/core/fs/AutoCloseableRegistry.java:
##########
@@ -50,8 +50,15 @@ public class AutoCloseableRegistry
private static final Object DUMMY = new Object();
+ private final boolean reverse;
+
public AutoCloseableRegistry() {
+ this(true);
+ }
+
+ public AutoCloseableRegistry(boolean reverse) {
super(new LinkedHashMap<>());
+ this.reverse = reverse;
Review Comment:
nit: it would be helpful to have javadoc to define what we mean by the
reverse parameter.
--
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]