Skip to content

Generify AggregatorFactory and PostAggregator #5671

@leventov

Description

@leventov

If the generic parameter is called T, the return type of compute() should be T and the return type of getComparator() should be Comparator<? super T>.

Although PostAggregator is an ExtensionPoint this should be a compatible change, because generics in Java were designed to support compatible transition.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions