Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit083b5f3

Browse files
committed
mark Response as transient in Serializable classes and small fixes in javadocs
1 parent1fc8d4c commit083b5f3

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

‎scribejava-apis/src/main/java/com/github/scribejava/apis/instagram/InstagramAccessTokenErrorResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class InstagramAccessTokenErrorResponse extends OAuthResponseException {
1919
privatefinalStringerrorType;
2020
privatefinalintcode;
2121
privatefinalStringerrorMessage;
22-
privatefinalResponseresponse;
22+
privatefinaltransientResponseresponse;
2323

2424
publicInstagramAccessTokenErrorResponse(StringerrorType,intcode,StringerrorMessage,Responseresponse)
2525
throwsIOException {

‎scribejava-apis/src/main/java/com/github/scribejava/apis/instagram/InstagramService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ public Future<OAuth2AccessToken> getLongLivedAccessToken(OAuth2AccessToken acces
7272
*
7373
* @param accessToken short-lived access token
7474
* @return long-lived access token with filled expireIn and refreshToken
75+
* @throws java.lang.InterruptedException
76+
* @throws java.util.concurrent.ExecutionException
77+
* @throws java.io.IOException
7578
*/
7679
publicOAuth2AccessTokengetLongLivedAccessToken(OAuth2AccessTokenaccessToken)
7780
throwsInterruptedException,ExecutionException,IOException {

‎scribejava-core/src/main/java/com/github/scribejava/core/httpclient/jdk/JDKHttpFuture.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
/**
99
* Fake Future. Just to have Future API for the default JDK Http client. It's NOT Async in any way. Just facade.<br>
1010
* That's it. Sync execution with Async methods. This class does NOT provide any async executions.
11+
*
12+
* @param <V>
1113
*/
1214
publicclassJDKHttpFuture<V>implementsFuture<V> {
1315

‎scribejava-core/src/main/java/com/github/scribejava/core/model/OAuthResponseException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class OAuthResponseException extends OAuthException {
88

99
privatestaticfinallongserialVersionUID =1309424849700276816L;
1010

11-
privatefinalResponseresponse;
11+
privatefinaltransientResponseresponse;
1212

1313
publicOAuthResponseException(ResponserawResponse)throwsIOException {
1414
super(rawResponse.getBody());

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp