Skip to content

Commit

Permalink
Move assignment to field declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Jan 8, 2025
1 parent c9d11ee commit 2d6bce8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,13 @@ public abstract class GraphSession extends HttpSession<OneDriveAPI> {

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);
Expand Down

0 comments on commit 2d6bce8

Please sign in to comment.