[
https://issues.apache.org/jira/browse/TINKERPOP3-805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette updated TINKERPOP3-805:
----------------------------------------
Description:
TINKERPOP3-764 unified semantics of the {{Transaction.close()}} method. The
original thought was to deprecate {{close}} but discussions on the dev mailing
list:
http://mail-archives.apache.org/mod_mbox/incubator-tinkerpop-dev/201508.mbox/%3CCAA-H4380Hc9H8XU7hx%2BwsXRG_cBqLwYDuEk7HiOgwj-xe8CLkg%40mail.gmail.com%3E
made it apparent that it was better to implement {{AutoCloseable}} on
{{Transaction}} and further enforce those semantics, specifically - enforce the
default close behavior as "rollback" through tests.
was:As of TINKERPOP3-764 the {{close()}} method and related methods/enum were
deprecated. This code should be removed and {{Transaction}} should no longer
implement {{Closeable}}.
Updated the description of this issue based on discussions in the dev mailing
list.
> Enforce AutoCloseable Semantics on Transaction
> ----------------------------------------------
>
> Key: TINKERPOP3-805
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-805
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: structure
> Affects Versions: 3.0.1-incubating
> Reporter: stephen mallette
> Assignee: stephen mallette
> Labels: breaking
> Fix For: 3.1.0-incubating
>
>
> TINKERPOP3-764 unified semantics of the {{Transaction.close()}} method. The
> original thought was to deprecate {{close}} but discussions on the dev
> mailing list:
> http://mail-archives.apache.org/mod_mbox/incubator-tinkerpop-dev/201508.mbox/%3CCAA-H4380Hc9H8XU7hx%2BwsXRG_cBqLwYDuEk7HiOgwj-xe8CLkg%40mail.gmail.com%3E
> made it apparent that it was better to implement {{AutoCloseable}} on
> {{Transaction}} and further enforce those semantics, specifically - enforce
> the default close behavior as "rollback" through tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)