Permalink
Browse files

Small tweak.

  • Loading branch information...
1 parent 1c0b35a commit 6c82067b0b8d651ea502e6f93c1cde57951e205b acampbell3000 committed Aug 31, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 oauth-plugin/grails-app/services/org/grails/plugins/oauth/OauthService.groovy
@@ -248,7 +248,7 @@ class OauthService implements InitializingBean {
throw new OauthServiceException(errorMessage)
}
- def token = args?.token
+ final def token = args?.token
if (!token || !token?.key || !token?.secret) {
final def errorMessage = "Unable to access to procected resource, invalid token: " +
"method = $method, params = $params, url = $url, consumer = $consumer, " +
@@ -343,7 +343,7 @@ class OauthService implements InitializingBean {
response.toString()
} catch (Exception ex) { // Should be only IOException here
- final def errorMessage = "Unable to read data from procected resource: "+
+ final def errorMessage = "Unable to read data from procected resource: " +
"args = $args"
log.error(errorMessage, ex)

0 comments on commit 6c82067

Please sign in to comment.