Skip to content

Inconsisten order of generic type parameters in Codec.of method  #630

Closed
@jenetics

Description

The order of the generic type parameters of one of the Codec factory method is not consistent with the interface and the other factory methods.

static <G extends Gene<?,G>,T> Codec<T,G> of(
    ISeq<? extends Codec<?,G>> codecs,
    Function<? super Object[],? extends T> decoder
);

should be

static <T, G extends Gene<?,G>> Codec<T,G> of(
    ISeq<? extends Codec<?,G>> codecs,
    Function<? super Object[],? extends T> decoder
);

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions