Skip to content

keys should never return null #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2015
Merged

keys should never return null #101

merged 1 commit into from
Dec 18, 2015

Conversation

pontusmelke
Copy link
Contributor

For cypher statements that has no results, resultCurson.keys should return
an empty list rather than null.

For cypher statements that has no results, `resultCurson.keys` should return
an empty list rather than `null`.
@@ -78,4 +78,34 @@ public void shouldBeAbleToOpenTxAfterPreviousIsClosed() throws Throwable
// Then we should've gotten a transaction object back
assertNotNull( tx );
}

@Test
public void shouldNotBeAbleToUseSessionWhileOngoingTransaction() throws Throwable
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two tests has nothing to do with the fix, I just thought they were missing.

jakewins added a commit that referenced this pull request Dec 18, 2015
keys should never return null
@jakewins jakewins merged commit e3f423a into neo4j:1.0 Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants