Skip to content
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

TEPHRA-119 Clean up TransactionEditCodec handling and fix V4 #74

Merged
merged 1 commit into from Aug 12, 2015

Conversation

ghelmling
Copy link
Contributor

Cleans up the TransactionEditCodec handling, pulling the existing codecs out of TransactionEdit and into TransactionEditCodecs. Also makes each codec be referenced once so that the version check is not duplicated.

*/
public class TransactionEditCodecs {

private static final TransactionEditCodec[] ALL_CODECS = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a comment saying that the version used in the codec need to be in the same array index of this array?

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh.. actually we don't. All good.

@chtyim
Copy link
Contributor

chtyim commented Aug 12, 2015

LGTM

ghelmling added a commit that referenced this pull request Aug 12, 2015
TEPHRA-119 Clean up TransactionEditCodec handling and fix V4
@ghelmling ghelmling merged commit ca7e476 into develop Aug 12, 2015
@ghelmling ghelmling deleted the feature/tx-edit-codec branch August 12, 2015 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants