Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
None
Description
Would it be a good idea to have push/pop methods for getting a bunch of values into the MDC?
Currently we have to call putClosable a bunch of times in a try with resources declaration statement. Would it be a good idea to add push/pop methods to more easily set and remove multiple values? lwjgl has something like this. They use it to manage an actual stack of memory. And I guess the methods you typically use there are push and close.. but it's the same idea.