Permalink
Browse files

Allow void NeoServer.exec blocks

  • Loading branch information...
1 parent ee5f82b commit 657aa1fce86a525af1b6630195b7a5ac5bcd03ec Martin Kleppmann committed Jun 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/scala/com/eptcomputing/neo4j/NeoServer.scala
@@ -121,7 +121,7 @@ object NeoServer {
* Execute instructions within a Neo4j transaction; rollback if exception is raised and
* commit otherwise; and return the return value from the operation.
*/
- def exec[T<:AnyRef](operation: NeoService => T): T = {
+ def exec[T<:Any](operation: NeoService => T): T = {
val tx = synchronized {
if (neo == null) startup
neo.beginTx

0 comments on commit 657aa1f

Please sign in to comment.