Skip to content
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

Mongo: unify condition handling #7093

Merged
merged 1 commit into from Jun 21, 2023
Merged

Conversation

snazy
Copy link
Member

@snazy snazy commented Jun 20, 2023

no functional change

no functional change
@snazy snazy requested a review from adutra June 20, 2023 17:38
@@ -271,6 +265,15 @@ public Reference markReferenceAsDeleted(@Nonnull @jakarta.annotation.Nonnull Ref
return reference.withDeleted(true);
}

private Bson referenceCondition(Reference reference) {
List<Bson> filters = new ArrayList<>(5);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
List<Bson> filters = new ArrayList<>(5);
List<Bson> filters = new ArrayList<>(3);

Copy link
Member Author

Choose a reason for hiding this comment

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

That number will be correct in the future ;)

@snazy snazy merged commit 3714949 into projectnessie:main Jun 21, 2023
23 checks passed
@snazy snazy deleted the mongo-condition branch June 21, 2023 08:21
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.

None yet

2 participants