File tree 2 files changed +5
-6
lines changed
library/src/main/java/com/loopj/android/http
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ before_install:
19
19
- export PATH=$GRADLE_HOME/bin:$PATH
20
20
# just to test gradle version, against our provided one
21
21
- gradle -v
22
- # newest android SDK 22.6.3
23
- - wget http://dl.google.com/android/android-sdk_r22.6.3 -linux.tgz
24
- - tar -zxf android-sdk_r22.6.3 -linux.tgz
22
+ # newest android SDK 22.6.2
23
+ - wget http://dl.google.com/android/android-sdk_r22.6.2 -linux.tgz
24
+ - tar -zxf android-sdk_r22.6.2 -linux.tgz
25
25
- export ANDROID_HOME=`pwd`/android-sdk-linux
26
26
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
27
27
# manually set sdk.dir variable, according to local paths
Original file line number Diff line number Diff line change 81
81
import java .util .WeakHashMap ;
82
82
import java .util .concurrent .ExecutorService ;
83
83
import java .util .concurrent .Executors ;
84
- import java .util .concurrent .ThreadPoolExecutor ;
85
84
import java .util .zip .GZIPInputStream ;
86
85
87
86
@@ -331,10 +330,10 @@ public void setCookieStore(CookieStore cookieStore) {
331
330
* Overrides the threadpool implementation used when queuing/pooling requests. By default,
332
331
* Executors.newFixedThreadPool() is used.
333
332
*
334
- * @param threadPool an instance of {@link ThreadPoolExecutor } to use for queuing/pooling
333
+ * @param threadPool an instance of {@link ExecutorService } to use for queuing/pooling
335
334
* requests.
336
335
*/
337
- public void setThreadPool (ThreadPoolExecutor threadPool ) {
336
+ public void setThreadPool (ExecutorService threadPool ) {
338
337
this .threadPool = threadPool ;
339
338
}
340
339
You can’t perform that action at this time.
0 commit comments