Permalink
Browse files

Fix Java 5 compilation (#318)

I found a previous issue that had explicitly made the code
create 1.5 compatible binaries, so I assume that is the
intended behaviour.
  • Loading branch information...
1 parent eebc00f commit b129a2c04f3f36a378dc851b14cafad7dea8c245 @dsyer dsyer 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 b129a2c

Please sign in to comment.