Skip to content

More conventional config builder method names #543

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
Nov 9, 2018

Conversation

lutovich
Copy link
Contributor

Added static factory method ConfigBuilder Config#builder() and instance method Config ConfigBuilder#build(). They have same behaviour as existing ConfigBuilder Config#build() and Config ConfigBuilder#toConfig() but have more conventional names. Existing methods not deprecated to avoid all existing user code be marked as deprecated. New methods also consistent with TransactionConfig. Updated the codebase to use new methods.

@lutovich lutovich requested a review from zhenlineo October 24, 2018 14:24
@lutovich lutovich force-pushed the 1.7-builder-methods branch from 1359968 to 8d28b87 Compare October 26, 2018 13:01
Added static factory method `ConfigBuilder Config#builder()` and
instance method `Config ConfigBuilder#build()`. They have same
behaviour as existing `ConfigBuilder Config#build()` and
`Config ConfigBuilder#toConfig()` but have more conventional names.
Existing methods not deprecated to avoid all existing user code be
marked as deprecated. New methods also consistent with
`TransactionConfig`. Updated the codebase to use new methods.
@lutovich lutovich force-pushed the 1.7-builder-methods branch from 8d28b87 to 82aa06d Compare October 29, 2018 10:22
@zhenlineo zhenlineo merged commit eec9ae1 into neo4j:1.7 Nov 9, 2018
@lutovich lutovich deleted the 1.7-builder-methods branch November 19, 2018 10: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.

2 participants