Skip to content

DATAMONGO-1687 DATAMONGO-1693 - Initialize collation in CollectionOptions eagerly. #462

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

Closed
wants to merge 4 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented May 11, 2017

CollectionOptions.collation is initialized with Optional.empty() to guard collection creation against null dereference.


Related ticket: DATAMONGO-1687

@mp911de mp911de changed the title DATAMONGO-1687 - Initialize collation in CollectionOptions eagerly. DATAMONGO-1687 DATAMONGO-1693 - Initialize collation in CollectionOptions eagerly. May 11, 2017
mp911de and others added 4 commits May 23, 2017 11:22
…s.empty().capped(…).

Prepare issue branch.
CollectionOptions.collation is initialized with Optional.empty() to guard collection creation against null dereference.
CollectionOptions is now immutable and returns Optional#empty for values not set. Some minor changes to JavaDoc and required updates for tests involved.
…lection.

We now consider CollectionOptions.collation via ReactiveMongoTemplate.createCollection.
christophstrobl pushed a commit that referenced this pull request May 24, 2017
CollectionOptions.collation is initialized with Optional.empty() to guard collection creation against null dereference.

Original Pull Request: #462
christophstrobl added a commit that referenced this pull request May 24, 2017
CollectionOptions is now immutable and returns Optional#empty for values not set. Some minor changes to JavaDoc and required updates for tests involved.

Original Pull Request: #462.
christophstrobl pushed a commit that referenced this pull request May 24, 2017
…lection.

We now consider Collation via CollectionOptions when creating collections using ReactiveMongoTemplate.createCollection.

Original Pull Request: #462.
@christophstrobl christophstrobl deleted the issue/DATAMONGO-1687 branch May 24, 2017 09:15
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