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

Abstract HTTP entity (de)serializaton to converters. #62

Merged
merged 1 commit into from Oct 17, 2012
Merged

Conversation

JakeWharton
Copy link
Member

This allows for specifying different serializations formats for use over the wire.

This commit also lays the groundwork for future synchronous invocation.

@@ -66,5 +66,17 @@
public ServerError(String message) {
this.message = message;
}

@Override public boolean equals(Object o) {
Copy link
Member

Choose a reason for hiding this comment

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

do you need to override these?

Copy link
Member Author

Choose a reason for hiding this comment

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

It made the test go green. I suppose I should actually figure out why object comparison was being used and correct that.

@JakeWharton
Copy link
Member Author

Ready for re-review. All tests pass locally. Will have to investigate what's up with Travis once I get off airplane Wi-Fi.

@JakeWharton
Copy link
Member Author

But still don't merge it yet!


@SuppressWarnings("unchecked")
@SuppressWarnings("unchecked") // Type is extracted from generic properties so cast is safe.
Copy link
Member

Choose a reason for hiding this comment

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

Thankyou!

@swankjesse
Copy link
Member

LGTM

This allows for specifying different serializations formats for
use over the wire.

This commit also lays the groundwork for future synchronous invocation.
edenman added a commit that referenced this pull request Oct 17, 2012
Abstract HTTP entity (de)serializaton to converters.
@edenman edenman merged commit 25f7e1c into master Oct 17, 2012
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.

None yet

3 participants