Skip to content

Coder.structuralValue(T) should never throw#2625

Closed
tgroh wants to merge 2 commits intoapache:masterfrom
tgroh:coder_structural_values_never_throws
Closed

Coder.structuralValue(T) should never throw#2625
tgroh wants to merge 2 commits intoapache:masterfrom
tgroh:coder_structural_values_never_throws

Conversation

@tgroh
Copy link
Member

@tgroh tgroh commented Apr 21, 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.

In the worst case, encoding to a byte array should never fail due to IO.

In the worst case, encoding to a byte array should never fail due to IO.
@kennknowles
Copy link
Member

You'll need to remove the throws from the subclasses in this PR for it to compile.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 70.267% when pulling 3319bbe on tgroh:coder_structural_values_never_throws into bda1607 on apache:master.

@tgroh
Copy link
Member Author

tgroh commented Apr 21, 2017

Done. PTAL.

Copy link
Member

@kennknowles kennknowles left a comment

Choose a reason for hiding this comment

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

LGTM

@asfgit asfgit closed this in bebee2a 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