File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
oauth2_http/java/com/google/auth/oauth2 Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,8 @@ public static GoogleCredentials getApplicationDefault(HttpTransportFactory trans
209209 * @return the credential defined by the credentialsStream.
210210 * @throws IOException if the credential cannot be created from the stream.
211211 */
212- @ ObsoleteApi ("This method is obsolete because of a potential security risk. Use the credential specific load method instead" )
212+ @ ObsoleteApi (
213+ "This method is obsolete because of a potential security risk. Use the credential specific load method instead" )
213214 public static GoogleCredentials fromStream (InputStream credentialsStream ) throws IOException {
214215 return fromStream (credentialsStream , OAuth2Utils .HTTP_TRANSPORT_FACTORY );
215216 }
@@ -233,7 +234,8 @@ public static GoogleCredentials fromStream(InputStream credentialsStream) throws
233234 * @return the credential defined by the credentialsStream.
234235 * @throws IOException if the credential cannot be created from the stream.
235236 */
236- @ ObsoleteApi ("This method is obsolete because of a potential security risk. Use the credential specific load method instead" )
237+ @ ObsoleteApi (
238+ "This method is obsolete because of a potential security risk. Use the credential specific load method instead" )
237239 public static GoogleCredentials fromStream (
238240 InputStream credentialsStream , HttpTransportFactory transportFactory ) throws IOException {
239241 Preconditions .checkNotNull (credentialsStream );
You can’t perform that action at this time.
0 commit comments