Yes, snapshot and rollback. Here is a concrete example of the pattern: https://github.com/groovy/groovy-eclipse/blob/master/base/org.eclipse.jdt.groovy.core/src/org/eclipse/jdt/groovy/search/TypeInferencingVisitorWithRequestor.java#L430
RE: Alternatives to try/finally code structure
Milles, Eric (TR Technology) Sun, 22 Nov 2020 06:25:12 -0800
- Alternatives to try/finally code structure Milles, Eric (TR Technology)
- Re: Alternatives to try/finally code str... Leo Gertsenshteyn
- RE: Alternatives to try/finally code... Milles, Eric (TR Technology)
- Re: Alternatives to try/finally ... MG
- Re: Alternatives to try/fina... Christopher Smith
- RE: Alternatives to try... Milles, Eric (TR Technology)
- Re: Alternatives to try/finally code str... Jochen Theodorou
- Re: Alternatives to try/finally code... MG
- RE: Alternatives to try/finally ... Milles, Eric (TR Technology)
- RE: Alternatives to try/fina... Milles, Eric (TR Technology)
- Re: Alternatives to try/fina... MG
- RE: Alternatives to try... Milles, Eric (TR Technology)
- RE: Alternatives to... Milles, Eric (TR Technology)
- Re: Alternatives to... MG
- RE: Alternative... Milles, Eric (TR Technology)
- Re: Alternative... Christopher Smith