neo4j/neo4j — pull request #1028 by jakewins (2013-08-01 23:45:55+00:00)
Title: Clearing up reference counting circular dependencies

o Refactored the circular dependency mess around reference counting and closing statement context. This does
not address any issues of leaking resources, it only makes the code more readable. This is a step towards
re-merging the state and the operations, at least from the outside as seen by the API user.

o Fixed test that depended on the order of randomly-ordered list items.
o Removed unused ThreadLocal code from ThreadToStatementContextBridge