Skip to content

Technical debt: Simplify some classes parameterization #1865

Open
@jcpitre

Description

@jcpitre

Describe the problem

In #1810 we modified some classes to require 2 class parameters, e.g.

public abstract class GtfsEntityContainer<T extends GtfsEntity, D extends GtfsFileDescriptor> {

I believe that the D extends GtfsFileDescriptor is not necessary.

Proposed solution

Removing the second class parameter would simplify the code.

Alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature request or improvement on an existing featurestatus: Needs triageApplied to all new issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions