Skip to content

Commit 7b7561a

Browse files
authored
Update src/main/java/com/microsoft/graph/core/requests/GraphClientFactory.java
1 parent 4835e3a commit 7b7561a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/microsoft/graph/core/requests/GraphClientFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public static OkHttpClient.Builder create(@Nonnull List<Interceptor> interceptor
5858
*/
5959
@Nonnull
6060
public static OkHttpClient.Builder create(@Nonnull BaseBearerTokenAuthenticationProvider authenticationProvider) {
61-
GraphClientOption graphClientOption = new GraphClientOption();
62-
Interceptor[] interceptors = createDefaultGraphInterceptors(graphClientOption);
63-
ArrayList<Interceptor> interceptorList = new ArrayList<>(Arrays.asList(interceptors));
61+
final GraphClientOption graphClientOption = new GraphClientOption();
62+
final Interceptor[] interceptors = createDefaultGraphInterceptors(graphClientOption);
63+
final ArrayList<Interceptor> interceptorList = new ArrayList<>(Arrays.asList(interceptors));
6464
interceptorList.add(new AuthorizationHandler(authenticationProvider));
6565
graphClientOption.featureTracker.setFeatureUsage(FeatureFlag.AUTH_HANDLER_FLAG);
6666
return create(graphClientOption, interceptorList);

0 commit comments

Comments
 (0)