Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public OAuthConfig(String url, String consumerKey, String consumerSecret) {
consumerSecret == null || consumerSecret.isEmpty()) {
throw new IllegalArgumentException("All arguments are required");
}
this.url = url;
this.url = url.endsWith("/") ? url.substring(0, url.lastIndexOf("/")) : url;
this.consumerKey = consumerKey;
this.consumerSecret = consumerSecret;
}
Expand Down