-
Notifications
You must be signed in to change notification settings - Fork 0
Retrofit response body mapper fix #44
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
Conversation
| @@ -86,14 +86,16 @@ private String parseBody(Response response) throws IOException { | |||
|
|
|||
| if (contentLength != 0L) { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See if on ebavajalik
Jorich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Väike täiendus veel teha.
| ); | ||
| } | ||
| var bodyString = buffer.clone().readString(charset); | ||
| var bodyStringLength = bodyString.length(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Siin on eeldus et bodyString ei ole null, ma ei tea kas ta saab või ei saa seda olla. turvalisem oleks kirjutada
var bodyStringLength = bodyString != null ? bodyString.length() : 0;
Jorich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lisasin ühe kommentaari null safety kohta
|



No description provided.