Skip to content

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