Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change order of arguments to IOContext constructor (group config objects together) #1071

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

cowtowncoder
Copy link
Member

No description provided.

@cowtowncoder
Copy link
Member Author

@JooHyukKim I should have noticed it earlier, but I think new config objects should be grouped together, so I moved ErrorReportConfiguration to be 3rd arg, not last.

@cowtowncoder cowtowncoder merged commit 75303dd into 2.16 Aug 1, 2023
5 checks passed
@cowtowncoder cowtowncoder deleted the tatu/2.16/change-iocontext-ctor-order branch August 1, 2023 03:41
* @deprecated Since 2.16, use {@link #IOContext(StreamReadConstraints, StreamWriteConstraints, BufferRecycler,
* ContentReference, boolean, ErrorReportConfiguration)} instead.
*/
@Deprecated
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not removed, moved further down (without Javadoc comment).

br, contentRef, managedResource);
}

@Deprecated // In 2.16: remove ASAP
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved from further up; only needed temporarily since it'd have been added in 2.16 so once factories/builders call proper main constructor, this can be safely removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant