From 2d6bce809af25f6234f8705b688e2ce7841e5d5f Mon Sep 17 00:00:00 2001 From: David Kocher Date: Wed, 8 Jan 2025 21:05:17 +0100 Subject: [PATCH] Move assignment to field declaration. --- .../src/main/java/ch/cyberduck/core/onedrive/GraphSession.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/onedrive/src/main/java/ch/cyberduck/core/onedrive/GraphSession.java b/onedrive/src/main/java/ch/cyberduck/core/onedrive/GraphSession.java index 0ebf34ea59c..56fb15b3c24 100644 --- a/onedrive/src/main/java/ch/cyberduck/core/onedrive/GraphSession.java +++ b/onedrive/src/main/java/ch/cyberduck/core/onedrive/GraphSession.java @@ -69,14 +69,13 @@ public abstract class GraphSession extends HttpSession { private final static String API_VERSION = "v1.0"; - protected GraphFileIdProvider fileid; + protected GraphFileIdProvider fileid = new GraphFileIdProvider(this); private OAuth2RequestInterceptor authorizationService; private User.Metadata user; protected GraphSession(final Host host, final X509TrustManager trust, final X509KeyManager key) { super(host, trust, key); - this.fileid = new GraphFileIdProvider(this); } public abstract String getFileId(final DriveItem.Metadata metadata);