summaryrefslogtreecommitdiff
path: root/src/com/google/gct/login/GoogleLoginUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/google/gct/login/GoogleLoginUtils.java')
-rw-r--r--src/com/google/gct/login/GoogleLoginUtils.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/google/gct/login/GoogleLoginUtils.java b/src/com/google/gct/login/GoogleLoginUtils.java
index adf1777..11a29a9 100644
--- a/src/com/google/gct/login/GoogleLoginUtils.java
+++ b/src/com/google/gct/login/GoogleLoginUtils.java
@@ -51,7 +51,6 @@ public class GoogleLoginUtils {
* @param pictureCallback
* @return the user's picture from <code>userInfo</code>
*/
- @Nullable
public static void getUserPicture(Userinfoplus userInfo, final IUserPropertyCallback pictureCallback) {
// set the size of the image before it is served
String urlString = userInfo.getPicture() + "?sz=" + DEFAULT_PICTURE_SIZE;
@@ -76,7 +75,6 @@ public class GoogleLoginUtils {
});
}
- @Nullable
public static void getUserInfo(@NotNull final Credential credential,
final IUserPropertyCallback callback) {
final Oauth2 userInfoService =
@@ -131,6 +129,7 @@ public class GoogleLoginUtils {
* Used for testing.
* @return a {@link Credential} object for the fake user.
*/
+ @NotNull
public static Credential makeFakeUserCredential() {
String clientId = System.getenv().get("ANDROID_CLIENT_ID");
String clientSecret = System.getenv().get("ANDROID_CLIENT_SECRET");