There was an error while loading. Please reload this page.
2 parents c00ae71 + 9c84343 commit e8b3f6cCopy full SHA for e8b3f6c
1 file changed
Flickr4Java/src/examples/java/AuthExample.java
@@ -53,6 +53,7 @@ public static void auth() throws IOException, FlickrException {
53
System.out.print(">>");
54
55
String tokenKey = scanner.nextLine();
56
+ scanner.close();
57
58
Token requestToken = authInterface.getAccessToken(token, new Verifier(tokenKey));
59
System.out.println("Authentication success");
0 commit comments