File tree Expand file tree Collapse file tree 4 files changed +7
-12
lines changed
scribejava-apis/src/main/java/com/github/scribejava/apis
scribejava-httpclient-ahc
scribejava-httpclient-okhttp Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 8686 <dependency >
8787 <groupId >com.google.code.gson</groupId >
8888 <artifactId >gson</artifactId >
89- <version >2.8.0 </version >
89+ <version >2.8.1 </version >
9090 <scope >test</scope >
9191 </dependency >
9292 <dependency >
132132 <dependency >
133133 <groupId >com.puppycrawl.tools</groupId >
134134 <artifactId >checkstyle</artifactId >
135- <version >7.7 </version >
135+ <version >8.0 </version >
136136 </dependency >
137137 </dependencies >
138138 </plugin >
Original file line number Diff line number Diff line change @@ -54,13 +54,8 @@ public String getAccessTokenEndpoint() {
5454 */
5555 @ Override
5656 public String getAuthorizationUrl (OAuth1RequestToken requestToken ) {
57- String authUrl = String .format (AUTHORIZE_URL , requestToken .getToken ());
58-
59- if (permString != null ) {
60- authUrl += "&perms=" + permString ;
61- }
62-
63- return authUrl ;
57+ final String authUrl = String .format (AUTHORIZE_URL , requestToken .getToken ());
58+ return permString == null ? authUrl : authUrl + "&perms=" + permString ;
6459 }
6560
6661 /**
Original file line number Diff line number Diff line change 2323 <dependency >
2424 <groupId >org.asynchttpclient</groupId >
2525 <artifactId >async-http-client</artifactId >
26- <version >2.0.32 </version >
26+ <version >2.0.33 </version >
2727 </dependency >
2828 </dependencies >
2929
Original file line number Diff line number Diff line change 2323 <dependency >
2424 <groupId >com.squareup.okhttp3</groupId >
2525 <artifactId >okhttp</artifactId >
26- <version >3.8.0 </version >
26+ <version >3.8.1 </version >
2727 </dependency >
2828 <dependency >
2929 <groupId >com.squareup.okhttp3</groupId >
3030 <artifactId >mockwebserver</artifactId >
31- <version >3.8.0 </version >
31+ <version >3.8.1 </version >
3232 <scope >test</scope >
3333 </dependency >
3434 </dependencies >
You can’t perform that action at this time.
0 commit comments