Skip to content

Commit b129a2c

Browse files
author
Dave Syer
committed
Fix Java 5 compilation (scribejava#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.
1 parent eebc00f commit b129a2c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/main/java/org/scribe/builder/api/ConstantContactApi2.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public AccessTokenExtractor getAccessTokenExtractor()
3434
return new AccessTokenExtractor()
3535
{
3636

37-
@Override
3837
public Token extract(String response)
3938
{
4039
Preconditions.checkEmptyString(response, "Response body is incorrect. Can't extract a token from an empty string");

src/main/java/org/scribe/extractors/JsonTokenExtractor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ public class JsonTokenExtractor implements AccessTokenExtractor
1010
{
1111
private Pattern accessTokenPattern = Pattern.compile("\"access_token\":\\s*\"(\\S*?)\"");
1212

13-
@Override
1413
public Token extract(String response)
1514
{
1615
Preconditions.checkEmptyString(response, "Cannot extract a token from a null or empty String");

0 commit comments

Comments
 (0)