Google's Oauth2 library methods expect a Java list for the scopes argument. Is it sensible to code the argument as a List
literal, like this:
public static final List<String> YOUTUBE_SCOPES = Lists.newArrayList(
"https://www.googleapis.com/auth/youtube.upload",
"https://www.googleapis.com/auth/youtube.readonly");
so that I can:
SendToGoogleUtils.getGoogleAccountCredential(activity, accountName, YOUTUBE_SCOPES );
Will the Java compiler create an efficient YOUTUBE_SCOPES literal?