Permalink
Browse files

Merge pull request #319 from dsyer/Java5Compatibility

Fix Java 5 compilation (#318)
  • Loading branch information...
2 parents eebc00f + b129a2c commit b8ca4910f883dbc2759ba9ef494c591eb65e2521 @fernandezpablo85 fernandezpablo85 committed Oct 23, 2012
@@ -34,7 +34,6 @@ public AccessTokenExtractor getAccessTokenExtractor()
return new AccessTokenExtractor()
{
- @Override
public Token extract(String response)
{
Preconditions.checkEmptyString(response, "Response body is incorrect. Can't extract a token from an empty string");
@@ -10,7 +10,6 @@
{
private Pattern accessTokenPattern = Pattern.compile("\"access_token\":\\s*\"(\\S*?)\"");
- @Override
public Token extract(String response)
{
Preconditions.checkEmptyString(response, "Cannot extract a token from a null or empty String");

0 comments on commit b8ca491

Please sign in to comment.