Skip to content

Commit 2199c87

Browse files
author
Noor Dawod
committed
Javadoc correction.
1 parent aa6a2d6 commit 2199c87

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,20 +506,20 @@ public void setConnectTimeout(int value) {
506506
}
507507

508508
/**
509-
* Returns current connection timeout limit (milliseconds). By default, this
509+
* Returns current response timeout limit (milliseconds). By default, this
510510
* is set to 10 seconds.
511511
*
512-
* @return Connection timeout limit in milliseconds
512+
* @return Response timeout limit in milliseconds
513513
*/
514514
public int getResponseTimeout() {
515515
return responseTimeout;
516516
}
517517

518518
/**
519-
* Set connection timeout limit (milliseconds). By default, this is set to
519+
* Set response timeout limit (milliseconds). By default, this is set to
520520
* 10 seconds.
521521
*
522-
* @param value Connection timeout in milliseconds, minimal value is 1000 (1 second).
522+
* @param value Response timeout in milliseconds, minimal value is 1000 (1 second).
523523
*/
524524
public void setResponseTimeout(int value) {
525525
responseTimeout = value < 1000 ? DEFAULT_SOCKET_TIMEOUT : value;

0 commit comments

Comments
 (0)