Loading build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -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' Loading src/main/java/com/nextcloud/android/sso/helper/BufferedSourceSSO.java +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; Loading Loading @@ -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"); } } Loading
build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -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' Loading
src/main/java/com/nextcloud/android/sso/helper/BufferedSourceSSO.java +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; Loading Loading @@ -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"); } }