Skip to content

Commit

Permalink
Fixed invalid condition in Neo4J driver. (#6235)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib authored Jun 2, 2023
1 parent 68b80bc commit 6283ee9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public override bool TryCombineOperations(

private static CompoundCondition CombineWithAnd(IReadOnlyCollection<Condition> operations)
{
if (operations.Count < 0)
if (operations.Count == 0)
{
throw new InvalidOperationException();
}
Expand All @@ -49,7 +49,7 @@ private static CompoundCondition CombineWithAnd(IReadOnlyCollection<Condition> o

private static Condition CombineWithOr(IReadOnlyCollection<Condition> operations)
{
if (operations.Count < 0)
if (operations.Count == 0)
{
throw new InvalidOperationException();
}
Expand Down

0 comments on commit 6283ee9

Please sign in to comment.