Skip to content

Commit

Permalink
Unknown relationship types in a dense node should not cause relations…
Browse files Browse the repository at this point in the history
…hip loading

(cherry picked from commit 5116cd0)
  • Loading branch information
rickardoberg committed Dec 10, 2014
1 parent 46ae4dc commit 63afc67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public boolean hasMore( DirectionWrapper direction, int[] types )
for ( int type : types )
{
RelationshipLoadingPosition position = positions.get( type );
if ( position == null || position.hasMore( direction, types ) )
if ( position != null && position.hasMore( direction, types ) )
{
return true;
}
Expand Down

0 comments on commit 63afc67

Please sign in to comment.