Permalink
Browse files

assertAccessTokenFormat(token) should not be public

  • Loading branch information...
1 parent 05dfb21 commit 59fd95104d43822da8d7af7337af1dffd5dafc82 @petedoyle petedoyle committed Sep 4, 2010
@@ -609,7 +609,7 @@ class OauthService implements InitializingBean {
* @throws OauthServiceException
* if token does not contain both a 'key' and 'secret'
*/
- def assertAccessTokenFormat(def token) {
+ private def assertAccessTokenFormat(def token) {
if (!token || !token?.key || !token?.secret) {
final def errorMessage = "Invalid access token: $token, token.key = ${token?.key}, token.secret = ${token?.secret}"

0 comments on commit 59fd951

Please sign in to comment.