Skip to content

Commit

Permalink
Add comment for now-deprecated Response constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Feb 1, 2014
1 parent d6ddfe7 commit 91f3f19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions retrofit/src/main/java/retrofit/client/Response.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ public Response(String url, int status, String reason, List<Header> headers, Typ
this.body = body;
}

/**
* @deprecated Use {@link #Response(String, int, String, java.util.List, TypedInput)}. This class
* will be removed in version 1.5.
*/
@Deprecated
public Response(int status, String reason, List<Header> headers, TypedInput body) {
if (status < 200) {
Expand Down

0 comments on commit 91f3f19

Please sign in to comment.