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

Commit d501836e authored by Robert Wiebe's avatar Robert Wiebe
Browse files

Use latest version of squareup.okhttp3

parent 3184f988
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ dependencies {
    implementation 'commons-io:commons-io:2.6'

    implementation 'com.squareup.retrofit2:retrofit:2.5.0'
    implementation 'com.squareup.okhttp3:okhttp:3.12.3'
    implementation 'com.squareup.okhttp3:okhttp:4.0.1'

    // Required for local unit tests (JUnit 4 framework)
    testImplementation 'junit:junit:4.12'
+16 −1
Original line number Diff line number Diff line
package com.nextcloud.android.sso.helper;

import androidx.annotation.Nullable;
import org.jetbrains.annotations.NotNull;

import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;

import androidx.annotation.Nullable;
import okio.Buffer;
import okio.BufferedSource;
import okio.ByteString;
@@ -276,4 +277,18 @@ public class BufferedSourceSSO implements BufferedSource {
    public int read(ByteBuffer dst) throws IOException {
        throw new UnsupportedOperationException("Not implemented");
    }

    @NotNull
    @Override
    public Buffer getBuffer()
    {
        throw new UnsupportedOperationException("Not implemented");
    }

    @NotNull
    @Override
    public BufferedSource peek()
    {
        throw new UnsupportedOperationException("Not implemented");
    }
}