Skip to content
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

Technical debt: Simplify some classes parameterization #1865

Open
jcpitre opened this issue Oct 2, 2024 · 0 comments
Open

Technical debt: Simplify some classes parameterization #1865

jcpitre opened this issue Oct 2, 2024 · 0 comments
Labels
enhancement New feature request or improvement on an existing feature status: Needs triage Applied to all new issues

Comments

@jcpitre
Copy link
Contributor

jcpitre commented Oct 2, 2024

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

@jcpitre jcpitre added enhancement New feature request or improvement on an existing feature status: Needs triage Applied to all new issues labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request or improvement on an existing feature status: Needs triage Applied to all new issues
Projects
None yet
Development

No branches or pull requests

1 participant