Skip to content

Commit 8c1c45e

Browse files
committed
Fix Constructor
1 parent 7125330 commit 8c1c45e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ public GraphServiceClient(@Nonnull AuthenticationProvider authenticationProvider
5353
}
5454
/**
5555
* Instantiate the GraphServiceClient using an AuthenticationProvider, Cloud and OkHttpClient.
56+
* @param authenticationProvider The AuthenticationProvider for this GraphServiceClient.
5657
* @param client The OkHttpClient for the GraphServiceClient.
5758
* @param clouds The Clouds for the GraphServiceClient.
58-
* @param authenticationProvider The AuthenticationProvider for this GraphServiceClient.
5959
*
6060
*/
6161
@SuppressWarnings("LambdaLast")
62-
public GraphServiceClient(@Nonnull OkHttpClient client, @Nonnull Clouds clouds, @Nonnull AuthenticationProvider authenticationProvider) {
63-
this(new BaseGraphRequestAdapter(authenticationProvider, clouds, "v1.0", getGraphClientOptions()));
62+
public GraphServiceClient(@Nonnull AuthenticationProvider authenticationProvider, @Nonnull OkHttpClient client, @Nonnull Clouds clouds) {
63+
this(new BaseGraphRequestAdapter(authenticationProvider, clouds, "v1.0", client));
6464
}
6565
/**
6666
* Instantiate the GraphServiceClient using an AuthenticationProvider and OkHttpClient.

0 commit comments

Comments
 (0)