Changeset 10201 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-05-13T04:02:38+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/oauth/SignpostAdapters.java
r9970 r10201 20 20 } 21 21 22 /** 23 * OAuth provider. 24 */ 22 25 public static class OAuthProvider extends AbstractOAuthProvider { 23 26 27 /** 28 * Constructs a new {@code OAuthProvider}. 29 * @param requestTokenEndpointUrl request token endpoint URL 30 * @param accessTokenEndpointUrl access token endpoint URL 31 * @param authorizationWebsiteUrl authorization website URL 32 */ 24 33 public OAuthProvider(String requestTokenEndpointUrl, String accessTokenEndpointUrl, String authorizationWebsiteUrl) { 25 34 super(requestTokenEndpointUrl, accessTokenEndpointUrl, authorizationWebsiteUrl); … … 46 55 } 47 56 57 /** 58 * OAuth consumer. 59 */ 48 60 public static class OAuthConsumer extends AbstractOAuthConsumer { 49 61 62 /** 63 * Constructs a new {@code OAuthConsumer}. 64 * @param consumerKey consumer key 65 * @param consumerSecret consumer secret 66 */ 50 67 public OAuthConsumer(String consumerKey, String consumerSecret) { 51 68 super(consumerKey, consumerSecret); … … 58 75 } 59 76 60 private staticclass HttpRequest implements oauth.signpost.http.HttpRequest {61 privatefinal HttpClient request;77 static final class HttpRequest implements oauth.signpost.http.HttpRequest { 78 final HttpClient request; 62 79 63 80 HttpRequest(HttpClient request) { … … 111 128 } 112 129 113 private staticclass HttpResponse implements oauth.signpost.http.HttpResponse {114 privatefinal HttpClient.Response response;130 static final class HttpResponse implements oauth.signpost.http.HttpResponse { 131 final HttpClient.Response response; 115 132 116 133 HttpResponse(HttpClient.Response response) { … … 138 155 } 139 156 } 140 141 157 }
Note:
See TracChangeset
for help on using the changeset viewer.