Skip to content

Commit d2bc69d

Browse files
committed
chore: fix typo and remove unused import in APIService
- Fixed typo: 'Exeception' -> 'Exception' in error message - Removed unused URISyntaxException import
1 parent 5562969 commit d2bc69d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/main/java/me/ghui/v2er/network/APIService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import com.google.gson.GsonBuilder;
66

77
import java.io.IOException;
8-
import java.net.URISyntaxException;
98
import java.util.concurrent.TimeUnit;
109

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

0 commit comments

Comments
 (0)