Skip to content

Add since tag to new methods on Extensible #694

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

Merged
merged 1 commit into from
Jun 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ default T extensions(Map<String, Object> extensions) {
* @param name
* the key used to access the extension object. Always prefixed by "x-".
* @return {@code true} if an extension with the given name is present, otherwise {@code false}
* @since 4.1
*/
default boolean hasExtension(String name) {
Map<String, Object> map = getExtensions();
Expand All @@ -97,6 +98,7 @@ default boolean hasExtension(String name) {
* @param name
* the key used to access the extension object. Always prefixed by "x-".
* @return the corresponding extension object, or {@code null} if no extension with the given name is present
* @since 4.1
*/
default Object getExtension(String name) {
Map<String, Object> map = getExtensions();
Expand Down