Skip to content

Commit 1bdde80

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents d474673 + 6fbd6ff commit 1bdde80

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ before_install:
1919
- export PATH=$GRADLE_HOME/bin:$PATH
2020
# just to test gradle version, against our provided one
2121
- 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
2525
- export ANDROID_HOME=`pwd`/android-sdk-linux
2626
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
2727
# manually set sdk.dir variable, according to local paths

library/src/main/java/com/loopj/android/http/AsyncHttpClient.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
import java.util.WeakHashMap;
8282
import java.util.concurrent.ExecutorService;
8383
import java.util.concurrent.Executors;
84-
import java.util.concurrent.ThreadPoolExecutor;
8584
import java.util.zip.GZIPInputStream;
8685

8786

@@ -331,10 +330,10 @@ public void setCookieStore(CookieStore cookieStore) {
331330
* Overrides the threadpool implementation used when queuing/pooling requests. By default,
332331
* Executors.newFixedThreadPool() is used.
333332
*
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
335334
* requests.
336335
*/
337-
public void setThreadPool(ThreadPoolExecutor threadPool) {
336+
public void setThreadPool(ExecutorService threadPool) {
338337
this.threadPool = threadPool;
339338
}
340339

0 commit comments

Comments
 (0)