Skip to content

[BEAM-2021][BEAM-1871] Remove DeterministicStandardCoder#2606

Closed
tgroh wants to merge 1 commit intoapache:masterfrom
tgroh:so_many_custom_coders
Closed

[BEAM-2021][BEAM-1871] Remove DeterministicStandardCoder#2606
tgroh wants to merge 1 commit intoapache:masterfrom
tgroh:so_many_custom_coders

Conversation

@tgroh
Copy link
Member

@tgroh tgroh commented Apr 20, 2017

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify. (Even better, enable
    Travis-CI on your fork and ensure the whole test matrix passes).
  • Replace <Jira issue #> in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

This isn't a particularly useful Coder. It has no defined methods other
than verifyDeterministic, which has an empty implementation.
Additionally, there are no guarantees that a DeterministicStandardCoder
is determinsitic.

@tgroh
Copy link
Member Author

tgroh commented Apr 20, 2017

R: @dhalperi

private abstract static class SomeRestrictionTracker
implements RestrictionTracker<SomeRestriction> {}

private abstract static class SomeRestrictionCoder implements Coder<SomeRestriction> {}
Copy link
Contributor

Choose a reason for hiding this comment

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

seems unrelated to this PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

reverted

Copy link
Contributor

@dhalperi dhalperi left a comment

Choose a reason for hiding this comment

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

1 Comment, then LGTM.

Please grep for DeterministicStandardCoder in Javadoc -- I feel like it was mentioned somewhere.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 70.149% when pulling a52186c on tgroh:so_many_custom_coders into 104f982 on apache:master.

@tgroh tgroh force-pushed the so_many_custom_coders branch from a52186c to 8a0c926 Compare April 20, 2017 15:52
@tgroh
Copy link
Member Author

tgroh commented Apr 20, 2017

I cannot find such an instance.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 8a0c926 on tgroh:so_many_custom_coders into ** on apache:master**.

This isn't a particularly useful Coder. It has no defined methods other
than verifyDeterministic, which has an empty implementation.
Additionally, there are no guarantees that a DeterministicStandardCoder
is determinsitic.
@tgroh tgroh force-pushed the so_many_custom_coders branch from 8a0c926 to d5fc120 Compare April 20, 2017 18:16
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 70.286% when pulling d5fc120 on tgroh:so_many_custom_coders into bf16b4a on apache:master.

@tgroh tgroh changed the title [BEAM-1871] Remove DeterministicStandardCoder [BEAM-2021][BEAM-1871] Remove DeterministicStandardCoder Apr 20, 2017
@asfgit asfgit closed this in a79bf57 Apr 21, 2017
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.

3 participants