Skip to content

Commit

Permalink
Removed deprecated methods, in new version devs are forced to use cor…
Browse files Browse the repository at this point in the history
…rect new calls
  • Loading branch information
smarek committed Jul 16, 2015
1 parent e1b7047 commit c45f898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
- Added BlackholeHttpResponseHandler implementation, which discards all response contents and silents all various log messages (see #416)
- Added LogInterface, it's default implementation and interface option to disable/enable logging library-wide and set logging verbosity
- Added option to TAG RequestHandle and cancel all requests matching specified TAG through `AsyncHttpClient.cancelRequestsByTAG(Object TAG)`
- Removed deprecated `getTimeout()` replaced by `getConnectTimeout()` and `getResponseTimeout()` respectively
- Removed deprecated `clearBasicAuth()` replaced by `clearCredentialsProvider()`

## 1.4.7 (released 9. 5. 2015)

Expand Down
21 changes: 0 additions & 21 deletions library/src/main/java/com/loopj/android/http/AsyncHttpClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -533,17 +533,6 @@ public void setMaxConnections(int maxConnections) {
ConnManagerParams.setMaxConnectionsPerRoute(httpParams, new ConnPerRouteBean(this.maxConnections));
}

/**
* Returns current socket timeout limit (milliseconds). By default, this is
* set to 10 seconds.
*
* @return Socket Timeout limit in milliseconds
* @deprecated Use either {@link #getConnectTimeout()} or {@link #getResponseTimeout()}
*/
public int getTimeout() {
return connectTimeout;
}

/**
* Set both the connection and socket timeouts. By default, both are set to
* 10 seconds.
Expand Down Expand Up @@ -751,16 +740,6 @@ public void setAuthenticationPreemptive(boolean isPreemptive) {
}
}

/**
* Removes previously set basic auth credentials
*
* @deprecated
*/
@Deprecated
public void clearBasicAuth() {
clearCredentialsProvider();
}

/**
* Removes previously set auth credentials
*/
Expand Down

0 comments on commit c45f898

Please sign in to comment.