mirror of
https://github.com/square/okhttp.git
synced 2026-01-18 20:40:58 +03:00
Remove unknown clause from response code javadoc.
The builder guarantees that the code is always positive.
This commit is contained in:
@@ -83,7 +83,7 @@ public final class Response {
|
||||
return protocol;
|
||||
}
|
||||
|
||||
/** Returns the HTTP status code or -1 if it is unknown. */
|
||||
/** Returns the HTTP status code. */
|
||||
public int code() {
|
||||
return code;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user