Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve transaction pattern #24

Merged
merged 6 commits into from
Feb 20, 2015

Conversation

phraktle
Copy link

Try-with-resources is a nicer idiom. Fixes issue #23.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.26% when pulling 3350338 on phraktle:phrak-tx-closeable into 3400a43 on deephacks:master.

@phraktle
Copy link
Author

The abort on close is actually a no-op, if a commit was performed previously (since self is zero).

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.26% when pulling beba00c on phraktle:phrak-tx-closeable into 3400a43 on deephacks:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.26% when pulling 90c159a on phraktle:phrak-tx-closeable into 3400a43 on deephacks:master.

(and some day i’ll learn how to use git properly :)
krisskross added a commit that referenced this pull request Feb 20, 2015
@krisskross krisskross merged commit 59c1f0d into deephacks:master Feb 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants