Skip to content

Category comparator is not scalable #2

@sp0rk

Description

@sp0rk

Imagine having to add several other Categories to your code. The compareTo() method would be painful to expand. Consider storing the constants in an ordered collection, like a list for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions