mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 21:59:47 +03:00
fix possible NPE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
561cff8157
commit
e7bc146524
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ public class InputStreamBinder extends IInputStreamService.Stub {
|
|||
|
||||
HttpMethodBase method = buildMethod(request, client.getBaseUri(), requestBodyInputStream);
|
||||
|
||||
if (!request.getParameterV2().isEmpty()) {
|
||||
if (request.getParameterV2() != null && !request.getParameterV2().isEmpty()) {
|
||||
method.setQueryString(convertListToNVP(request.getParameterV2()));
|
||||
} else {
|
||||
method.setQueryString(convertMapToNVP(request.getParameter()));
|
||||
|
|
Loading…
Reference in a new issue