Skip to content

Commit 7125330

Browse files
authored
Update GraphServiceClient.java
1 parent a95cc91 commit 7125330

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/com/microsoft/graph/serviceclient/GraphServiceClient.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@ public GraphServiceClient(@Nonnull AuthenticationProvider authenticationProvider
5252
this(new BaseGraphRequestAdapter(authenticationProvider, null, "v1.0" , getGraphClientOptions()));
5353
}
5454
/**
55-
* Instantiate the GraphServiceClient using an AuthenticationProvider, baseUrl and OkHttpClient.
56-
* @param authenticationProvider The AuthenticationProvider for this GraphServiceClient.
55+
* Instantiate the GraphServiceClient using an AuthenticationProvider, Cloud and OkHttpClient.
5756
* @param client The OkHttpClient for the GraphServiceClient.
5857
* @param clouds The Clouds for the GraphServiceClient.
58+
* @param authenticationProvider The AuthenticationProvider for this GraphServiceClient.
5959
*
6060
*/
61-
public GraphServiceClient(@Nonnull AuthenticationProvider authenticationProvider, @Nonnull OkHttpClient client, @Nonnull Clouds clouds) {
61+
@SuppressWarnings("LambdaLast")
62+
public GraphServiceClient(@Nonnull OkHttpClient client, @Nonnull Clouds clouds, @Nonnull AuthenticationProvider authenticationProvider) {
6263
this(new BaseGraphRequestAdapter(authenticationProvider, clouds, "v1.0", getGraphClientOptions()));
6364
}
6465
/**

0 commit comments

Comments
 (0)