diff --git a/.idea/misc.xml b/.idea/misc.xml
index cca2cdae1104f24be36cbc5479e56329cbcde55d..7158618b85341a59364023b0c758790897c83c56 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -37,7 +37,7 @@
-
+
diff --git a/arms/src/main/java/com/jess/arms/di/module/ClientModule.java b/arms/src/main/java/com/jess/arms/di/module/ClientModule.java
index 7cefb0d59ef827637fb38b6e01231b9b590fc52b..d470a5c60bde09c331f4e74f3991d51dd32513ee 100644
--- a/arms/src/main/java/com/jess/arms/di/module/ClientModule.java
+++ b/arms/src/main/java/com/jess/arms/di/module/ClientModule.java
@@ -32,7 +32,7 @@ import retrofit2.converter.gson.GsonConverterFactory;
*/
@Module
public class ClientModule {
- private static final int TOME_OUT = 10;
+ private static final int TIME_OUT = 10;
public static final int HTTP_RESPONSE_DISK_CACHE_MAX_SIZE = 10 * 1024 * 1024;//缓存文件最大值为10Mb
private HttpUrl mApiUrl;
private GlobeHttpHandler mHandler;
@@ -185,8 +185,8 @@ public class ClientModule {
OkHttpClient.Builder builder = okHttpClient
- .connectTimeout(TOME_OUT, TimeUnit.SECONDS)
- .readTimeout(TOME_OUT, TimeUnit.SECONDS)
+ .connectTimeout(TIME_OUT, TimeUnit.SECONDS)
+ .readTimeout(TIME_OUT, TimeUnit.SECONDS)
.cache(cache)//设置缓存
.addNetworkInterceptor(intercept);
if (mInterceptors != null && mInterceptors.length > 0) {//如果外部提供了interceptor的数组则遍历添加