Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions app/src/main/java/me/ghui/v2er/general/MyAppGllideModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
import com.bumptech.glide.Registry;
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.integration.okhttp3.OkHttpUrlLoader;
import com.bumptech.glide.load.DecodeFormat;
import com.bumptech.glide.load.model.GlideUrl;
import com.bumptech.glide.module.AppGlideModule;
import com.bumptech.glide.request.RequestOptions;

import java.io.InputStream;

Expand Down
3 changes: 1 addition & 2 deletions app/src/main/java/me/ghui/v2er/network/APIService.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import com.google.gson.GsonBuilder;

import java.io.IOException;
import java.net.URISyntaxException;
import java.util.concurrent.TimeUnit;

import javax.annotation.Nullable;
Expand Down Expand Up @@ -126,7 +125,7 @@ public Response intercept(Chain chain) throws IOException {
return new Response.Builder()
.protocol(Protocol.HTTP_1_1)
.code(404)
.message("Exeception when execute chain.proceed request")
.message("Exception when execute chain.proceed request")
.body(ResponseBody.create("Network error occurred", MediaType.parse("text/plain")))
.request(request).build();
}
Expand Down
Loading