Skip to content

Lower bounded wildcards for callbacks #24

@davidmoten

Description

@davidmoten

Wherever we have methods in the api like:
void post(final Calendar newCalendar, final ICallback callback);
we can offer more flexibility (reuse) for the caller by using this signature:
void post(final Calendar newCalendar, final ICallback<? super Calendar> callback);
I started making a PR for this but stopped when I encountered changes to the generated code. Can we sort this one out?
AB#6041

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions