Sitelet https://github.com/exonum/exonum-java-binding/pull/971
Skip to content

Upgrade to auto-value-gson 1.0.0: [ECR-3032] - #971

Merged
dmitry-timofeev merged 3 commits into
exonum:masterfrom
dmitry-timofeev:update-auto-value-ECR-3032
Jun 26, 2019
Merged

dmitry-timofeev merged 3 commits into
exonum:masterfrom
dmitry-timofeev:update-auto-value-ECR-3032

Conversation

@dmitry-timofeev

@dmitry-timofeev dmitry-timofeev commented Jun 24, 2019 •

Copy link
Copy Markdown
Contributor

Overview

Also, remove redundant factories because a generated factory includes
all accessible type adapters. As they are currently public,
a single factory is sufficient per module.

Q: Shall we make the type-adapter factory methods in autovalue classes non-public so that they do not appear in their public API; and add per-package factories?


See: https://jira.bf.local/browse/ECR-3032

Definition of Done

  • There are no TODOs left in the code
  • Change is covered by automated tests
  • The coding guidelines are followed
  • Public API has Javadoc
  • Method preconditions are checked and documented in the Javadoc of the method
  • Changelog is updated if needed (in case of notable or breaking changes)
  • The continuous integration build passes

Also, remove redundant factories because a generated factory includes
*all* accessible type adapters. As they are currently public,
a single factory is sufficient per module.
@dmitry-timofeev
dmitry-timofeev requested review from MakarovS and bullet-tooth and removed request for bullet-tooth June 24, 2019 16:00
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.08%) to 85.478% when pulling 7625f6f on dmitry-timofeev:update-auto-value-ECR-3032 into 6096a0b on exonum:master.

@dmitry-timofeev
dmitry-timofeev merged commit 142507e into exonum:master Jun 26, 2019
@dmitry-timofeev
dmitry-timofeev deleted the update-auto-value-ECR-3032 branch June 26, 2019 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants