Skip to content

Commit

Permalink
Failed to include in previous commit. Fixes test case specific setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroecheler committed Jun 5, 2012
1 parent a0ae223 commit fc73a2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class AtomicTitanQuery implements InternalTitanQuery {

public AtomicTitanQuery(InternalTitanTransaction tx) {
this.tx=tx;
if (tx.isClosed()) throw GraphDatabaseException.transactionNotOpenException();
if (tx!=null && tx.isClosed()) throw GraphDatabaseException.transactionNotOpenException();

dir = null;
types = null;
Expand Down

0 comments on commit fc73a2f

Please sign in to comment.