Skip to content

Commit 4f59e5e

Browse files
committed
drop deprecated setConnectionKeepAlive method, add javadoc
1 parent 1cfd31a commit 4f59e5e

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* add Box (thanks to https://github.com/MclaughlinSteve)
55
* fix: OAuth20Service::refreshAccessToken should use RefreshTokenEndpoint, not AccessTokenEndpoint (thanks to https://github.com/vivin)
66
* move signRequest method to OAuthService (common for OAuth1 and OAuth2) (thanks to https://github.com/apomelov)
7+
* drop deprecated setConnectionKeepAlive method
78

89
[3.2.0]
910
* Add Naver API (thanks to chooco)

scribejava-core/src/main/java/com/github/scribejava/core/model/AbstractRequest.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -254,20 +254,6 @@ public void setCharset(String charsetName) {
254254
charset = charsetName;
255255
}
256256

257-
/**
258-
* Sets whether the underlying Http Connection is persistent or not.
259-
*
260-
* @param connectionKeepAlive boolean
261-
*
262-
* @see <a
263-
* href="http://download.oracle.com/javase/1.5.0/docs/guide/net/http-keepalive.html">http://download.oracle.com/javase/1.5.0/docs/guide/net/http-keepalive.html</a>
264-
* @deprecated does nothing - JVM default is left untouched. Set {@code http.keepAlive} system property to
265-
* {@code false} for pre-deprecation behavior.
266-
*/
267-
@Deprecated
268-
public void setConnectionKeepAlive(boolean connectionKeepAlive) {
269-
}
270-
271257
/**
272258
* Sets whether the underlying Http Connection follows redirects or not.
273259
*

scribejava-core/src/main/java/com/github/scribejava/core/oauth/OAuthService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* The main ScribeJava object.
2222
*
2323
* A facade responsible for the retrieval of request and access tokens and for the signing of HTTP requests.
24+
* @param <T> type of token used to sign the request
2425
*/
2526
public abstract class OAuthService<T extends Token> {
2627

0 commit comments

Comments
 (0)