neo4j-contrib / authentication-extension

Neo4j Server Auth Extension
72 stars 28 forks source link

Updated transaction and property handling for 2.0.0-M06 compatibility #14

Closed gtebbutt closed 10 years ago

gtebbutt commented 10 years ago

I've converted transactions to use the new AutoClosable interface, and slightly altered the property retrieval. Even with a default string supplied, getProperty on GraphPropertiesImpl now returns boolean false if the key isn't found (possible bug, unless I'm misunderstanding the expected behaviour?), meaning an extra check is required before the cast.