Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a23ee6a authored by desperateCoder's avatar desperateCoder
Browse files

attachments upload: something does something

parent 796954d7
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
@@ -2,20 +2,16 @@ package com.nextcloud.android.sso.api;

import android.util.Log;

import androidx.annotation.Nullable;

import com.nextcloud.android.sso.aidl.NextcloudRequest;
import com.nextcloud.android.sso.helper.Okhttp3Helper;
import com.nextcloud.android.sso.helper.ReactivexHelper;
import com.nextcloud.android.sso.helper.Retrofit2Helper;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.lang.reflect.ParameterizedType;
@@ -29,7 +25,6 @@ import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import androidx.annotation.Nullable;
import io.reactivex.Completable;
import io.reactivex.Observable;
import okhttp3.Headers;
@@ -49,8 +44,6 @@ import retrofit2.http.HEAD;
import retrofit2.http.HTTP;
import retrofit2.http.Header;
import retrofit2.http.Multipart;
import retrofit2.http.OPTIONS;
import retrofit2.http.PATCH;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Part;
@@ -209,7 +202,7 @@ public class NextcloudRetrofitServiceMethod<T> {
            return buffer.inputStream();
        }
        catch (final IOException e) {
            throw new RuntimeException("failed to build request-body");
            throw new RuntimeException("failed to build request-body", e);
        }
    }