The plugins-login-common library for authenticating with the Google Cloud Platform shared by several IDE plugins including Google Cloud Tools for Eclipse, Google Cloud Tools for IntelliJ, and Android Studio.
IntelliJ IDE changed pom.xml to allow using @Override.
The Javadoc of OAuthData says that the Set for storing scopes is never null:
/**
* Authentication data, consisting of an access token, a refresh token, an access-token expiration
* time, and a user email address, each of which may be null, and a set of authorized scopes that is
* never null but may be empty.
*/
In fact, OAuthData creates an empty set if a null set is given, and OAuthData.getStoredSet() never returns null.
Java Preference Implementation of
OAuthDataStore
.Misc:
pom.xml
to allow using@Override
.The Javadoc of
OAuthData
says that theSet
for storing scopes is never null:In fact,
OAuthData
creates an empty set if a null set is given, andOAuthData.getStoredSet()
never returns null.