Skip to content

Commit 41777bc

Browse files
author
boncey
committed
Removed unused callback method
1 parent bfbba77 commit 41777bc

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

‎src/main/java/org/scribe/builder/api/FlickrApi.java‎

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package org.scribe.builder.api;
22

3-
import org.scribe.builder.api.DefaultApi10a;
3+
44
import org.scribe.model.Token;
5-
import org.scribe.utils.OAuthEncoder;
65

76
/**
87
* OAuth API for Flickr.
8+
*
99
* @author Darren Greaves
1010
* @see <a href="http://www.flickr.com/services/api/">Flickr API</a>
1111
*/
@@ -44,16 +44,4 @@ public String getRequestTokenEndpoint()
4444
return "http://www.flickr.com/services/oauth/request_token";
4545
}
4646

47-
48-
/**
49-
* Get request token endpoint with a callback URL.
50-
*
51-
* @param callbackUrl
52-
* @return
53-
*/
54-
public String getRequestTokenEndpoint(String callbackUrl)
55-
{
56-
57-
return String.format("%s?oauth_callback=%s", getRequestTokenEndpoint(), OAuthEncoder.encode(callbackUrl));
58-
}
5947
}

0 commit comments

Comments
 (0)